note 30810 added to ref.mssql

From: Date: Sun, 30 Mar 2003 16:16:04 +0000
Subject: note 30810 added to ref.mssql
Groups: php.notes 
Request: Send a blank email to php-notes+get-45990@lists.php.net to get a copy of this message
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 -- http://www.php.net/manual/en/ref.mssql.php http://master.php.net/manage/user-notes.php?action=edit+30810 http://master.php.net/manage/user-notes.php?action=delete+30810 http://master.php.net/manage/user-notes.php?action=reject+30810

« previous php.notes (#45990) next »