note 8561 added to mysql_num_rows
| From: | buzz at umich dot edu | Date: | Sun, 17 Sep 2000 16:29:52 +0000 |
| Subject: | note 8561 added to mysql_num_rows | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-5168@lists.php.net to get a copy of this message | ||
This is an example that works without a warning:
$Query = mysql_query("select id from login where username = '$username' AND password
= '$password'");
$Result = mysql_query( $Query );
$Numrows=mysql_num_rows($Result);
http://www.php.net/manual/function.mysql-num-rows.php