note 71669 added to function.odbc-free-result

From: Date: Mon, 11 Dec 2006 01:06:30 +0000
Subject: note 71669 added to function.odbc-free-result
Groups: php.notes 
Request: Send a blank email to php-notes+get-120497@lists.php.net to get a copy of this message
After calling odbc_getresult in a loop I was getting: SQL error: [unixODBC][FreeTDS][SQL Server]Invalid cursor state, SQL state 24000 in SQLExecDirect in But only on the second iteration (ie the first, third, etc calls where fine) I called odbc_free_result() at the end of the loop and now its fine. ---- Server IP: 82.165.230.124 Probable Submitter: 150.101.200.66 ---- Manual Page -- http://www.php.net/manual/en/function.odbc-free-result.php Edit -- https://master.php.net/note/edit/71669 Del: integrated -- https://master.php.net/note/delete/71669/integrated Del: useless -- https://master.php.net/note/delete/71669/useless Del: bad code -- https://master.php.net/note/delete/71669/bad+code Del: spam -- https://master.php.net/note/delete/71669/spam Del: non-english -- https://master.php.net/note/delete/71669/non-english Del: in docs -- https://master.php.net/note/delete/71669/in+docs Del: other reasons-- https://master.php.net/note/delete/71669 Reject -- https://master.php.net/note/reject/71669 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#120497) next »