Help with understanding an error
| From: | Terion Miller | Date: | Mon, 24 Nov 2008 17:28:22 +0000 |
| Subject: | Help with understanding an error | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-283768@lists.php.net to get a copy of this message | ||
Can anyone help explain what I need to do to fix this:
Error: *Warning*: mysql_fetch_object(): supplied argument is not a valid
MySQL result resource in *
C:\Inetpub\wwwroot\WorkOrderSystem\ViewWorkOrder.php* on line *57*
*Warning*: mysql_num_rows(): supplied argument is not a valid MySQL result
resource in *C:\Inetpub\wwwroot\WorkOrderSystem\ViewWorkOrder.php* on line *
65
Code:
line 57: $row = mysql_fetch_object ($result);
line 65: if (mysql_num_rows($result) == 0) {
?>
*