note 9188 rejected and deleted from odbc_free_result by ronabop
| From: | ronabop@php.net | Date: | Sat, 21 Oct 2000 22:40:59 +0000 |
| Subject: | note 9188 rejected and deleted from odbc_free_result by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-6808@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