cformsII Support Forum
Current User: Guest *Frequently Asked Questions*
Search 
Search Forums:


 




Display Number of Database Entries

Add a New Topic Reply to Post
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  ?>

 

Add a New Topic Reply to Post


Reply to Topic: Display Number of Database Entries
PLEASE READ THE FAQs FIRST! THANK YOU.

NOTE: New Posts are subject to administrator approval before being displayed

Guest Name (Required):

Guest EMail (Required):

Guest URL (required)

Math Required!
What is the sum of: 6 + 10        (Required)

Topic Reply:


 
© Simple:Press Forum - Version 3.1.3 (Build 356)