After upgrading to PHP4.0.4-win-20001210 I am now getting the following
errors on my odbc_close statement:
Warning: Supplied argument is not a valid ODBC_Link resource in (path of
.php file). What am I doing wrong, or what am I missing.
$conn = odbc_connect("PO_Hist", "userid", "password");
$q = 'Select * from PH_Hist';
$cursor = odbc_exec($conn, $q);
while (odbc_fetch_row ($cursor) == true)
{
$vendor =odbc_result($cursor, "Vendor Name");
$buyer =odbc_result($cursor, "Buyer Name");
etc etc....
$x = odbc_close($conn); (here is where I get the error)
Debra Samsom
Bristol Aerospace Ltd.
(204) 775-8331 3402
[EMAIL PROTECTED]