jib Posted June 12, 2008 Share Posted June 12, 2008 Is it possible to count the number of entries in your result variable, for example $result = mysql_query($sql); then find out how many entries are in $result, so I can print the total number of records found. I tried sizeoff($result) but that didn't work Cheers Link to comment https://forums.phpfreaks.com/topic/109839-solved-counting-the-number-of-results-from-an-sql-query/ Share on other sites More sharing options...
corbin Posted June 12, 2008 Share Posted June 12, 2008 http://php.net/mysql_num_rows ;p Link to comment https://forums.phpfreaks.com/topic/109839-solved-counting-the-number-of-results-from-an-sql-query/#findComment-563654 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.