...

View Full Version : # of return records



moiseszaragoza
11-30-2008, 11:05 PM
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
11-30-2008, 11:18 PM
$rec_count = mysql_num_rows($MySQL_SelectSearch);

echo $rec_count;

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

ohgod
12-01-2008, 09: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