note 30810 deleted from ref.mssql by sniper
| From: | sniper@php.net | Date: | Mon, 17 Nov 2003 22:58:19 +0000 |
| Subject: | note 30810 deleted from ref.mssql by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-60531@lists.php.net to get a copy of this message | ||
Note Submitter: jerry.wilborn@fast.net
----
be aware that compiling with --with-sybase=DIR may get your mssql functions working but variables
like "MSSQL_ASSOC" when trying to fetch an array won't work. the mssql functions are
mearly aliases to their respective sybase components (grep the sybase source for mssql).
what does this mean? if you're 'while'ing thru a fetched row and wanting to get
"list($column_name, $column_value) = each($row)" then you need to test $column_name such
as: if (is_int($column_name)) continue;
since the sybase fetch row gives both numeric and textual representations of the fetched data and
has no ability to do one or the other.
- jerry