This forum requires Javascript to be enabled for posting content
Search
Select Forum
Announcements
Troubleshooting
Feature Requests
CSS Styling and Layout
Show and Tell
New/Recently Updated Topics
Don't show #usermessagea in URL
CC Option for User e-mail is blank
fatal error
Need to add additional parameter to...
cforms-captcha.php
How use the API to get specific fie...
Comment does not display
problem editing fiels settings
Adding Newsletter Form to side bar
Select Box Input Field Validation
Paypal integration
Generate PDF?
random in a multipart form
Displaying form Submissions in Post...
Customizing CSS for Form ... Having...
Post
Lyle - Guest
4:01 pm - October 7, 2007
Id like to display the total number of entries in the cforms tracking database.
Is there a simple line of php I can put into a page to read that number and display it in the page?
Oliver
- Admin
4:16 pm - October 7, 2007
posts 3549
It's all SQL, database tables and records. In other words, take a look at the table structure, and craft a quick SQL statement that will return the count() of entries and echo-it to the screen where ever you want.
Lyle - Guest
3:53 am - October 8, 2007
That sounds easy but I dont know any php code.
What would be the syntax and implementation of that?
i.e. can you tell me what to put between the <?php and the ?>
Reply to Topic: Display Number of Database Entries
PLEASE READ THE FAQs FIRST! THANK YOU.