Here is how can you find the number of rows in a result set in PHP:
$result = mysql_query($any_valid_sql, $database_link);
$num_rows = mysql_num_rows($result);
echo "$num_rows rows found";
Subscribe to:
Post Comments (Atom)
Complete list of questions and answers about PHP MySQL. Get prepared for better interview.
Mobile Fun |
Download Free Mobile Phone Ringtones ![]() |
Online Games |
![]() ![]() |
Free Live Chat Rooms | ||||||||||||
|
No comments:
Post a Comment