How to print out the number of total IDs from mysql on php?

Jonathan

New member
if you can share me the complete coding, i'd be very grateful.. thank you.
say i have a database with 1000 ids of students.. so i know i have 1000 records

now i want to show it on my record.php that i have how many records in database.
like Total numbers of student records: 1000
and the number should change as i add more records

how do i use php to echo out the highest # of id or the total # of ids as it would be the same.
 
Back
Top