note 33422 added to function.mssql-fetch-array

From: Date: Wed, 25 Jun 2003 14:21:09 +0000
Subject: note 33422 added to function.mssql-fetch-array
Groups: php.notes 
Request: Send a blank email to php-notes+get-50992@lists.php.net to get a copy of this message
microsoft sql 2000 server php running on windows 2000 Using the $row = mssql_fetch_array($result) A null value will return 0, this is a problem if you are using 0 and some identifier for a value. you should convert all nulls to something like -1 or "NO VALUE" ---- Manual Page -- http://www.php.net/manual/en/function.mssql-fetch-array.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+33422 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+33422&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+33422&report=yes

« previous php.notes (#50992) next »