Jump to content

Error: Warning: mysql_num_rows(): ...


acctman

Recommended Posts

It most likely means you have an error in your SQL syntax or something else wrong with the query. Do this to trouble shoot:

<?php
$res = mysql_query($sql, $db) or die(mysql_error());
if (mysql_num_rows($res) == 1)
{

}
?>

 

...51 seconds too late ;-)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.