From: [EMAIL PROTECTED] Operating system: win 2k server SBS PHP version: 4.2.3 PHP Bug Type: MSSQL related Bug description: mssql_free_result():
I 've got this warning for a query that works, I don't understand why. PHP Warning: mssql_free_result(): 18 is not a valid MS SQL-result resource in ... here the code: $strSQL = " SELECT REF_PRODUIT FROM PRODUITS WHERE ACTUEL = 1 AND REF_EDITEUR = '$pEditeur' AND REF_PRODUIT ='".$tabCol[0]."'"; $iQuery2 = dbQuery($iConnect, $strSQL) ; echo $iQuery2; dbFetch($iQuery2, $tabref); dbFreeResult($iQuery2); here the echo of iQuery2: Resource id #9 Resource id #12 Resource id #15 Resource id #18 -- Edit bug report at http://bugs.php.net/?id=20222&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=20222&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=20222&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=20222&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=20222&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=20222&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=20222&r=support Expected behavior: http://bugs.php.net/fix.php?id=20222&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=20222&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=20222&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=20222&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20222&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=20222&r=dst IIS Stability: http://bugs.php.net/fix.php?id=20222&r=isapi