note 9188 added to odbc_free_result
| From: | rasutton at hotmail dot com | Date: | Sat, 21 Oct 2000 16:38:28 +0000 |
| Subject: | note 9188 added to odbc_free_result | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-6795@lists.php.net to get a copy of this message | ||
"Warning: Supplied argument is not a valid ODBC result resource"
Why do I receive this error? Here's the code:
$query2 = "SELECT * FROM Symptoms WHERE SymptomID=$Sym";
$result2 = odbc_do($connection, $query2);
$SymptomText = odbc_result($result2,"Symptom");
print("$SymptomText</TD></TR></TABLE></TD></TR>\n");
odbc_free_result("$result2");
I'm using IIS5 and php4
http://www.php.net/manual/function.odbc-free-result.php