note 30343 added to function.odbc-result
| From: | spooky at rack1 dot php dot net | Date: | Fri, 14 Mar 2003 15:27:18 +0000 |
| Subject: | note 30343 added to function.odbc-result | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-45312@lists.php.net to get a copy of this message | ||
It took me a while to find out why there was a problem with retrieving data with odbc_result
statement.
Warning: SQL error: [Microsoft][ODBC SQL Server Driver]
SQL state S1002 in SQLGetData
State S1002 means that invalid column index has been used.
I checked it hundred times - column index was OK.
Finally i ordered calls of odbc_result statement according to order of fields in the table. It
helped.
Best regards
--
http://www.php.net/manual/en/function.odbc-result.php
http://master.php.net/manage/user-notes.php?action=edit+30343
http://master.php.net/manage/user-notes.php?action=delete+30343
http://master.php.net/manage/user-notes.php?action=reject+30343