...

View Full Version : # of return records



moiseszaragoza
12-01-2008, 12:05 AM
Does any one know how to display how many records i get back from the DB on a query?



$MySQL_SelecttSearch = mysql_query(
"SELECT * FROM Video "


This is my Query
Thanks

PappaJohn
12-01-2008, 12:18 AM
$rec_count = mysql_num_rows($MySQL_SelectSearch);

echo $rec_count;

moiseszaragoza
12-01-2008, 03:28 PM
Thanks that helps allot

ohgod
12-01-2008, 10:29 PM
and just in case it comes in handy...

http://us.php.net/manual/en/book.mysql.php



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum