note 16240 added to function.mssql-query
| From: | erlando at dnspilot dot com | Date: | Mon, 22 Oct 2001 11:37:30 +0000 |
| Subject: | note 16240 added to function.mssql-query | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-19252@lists.php.net to get a copy of this message | ||
Re: empty strings interpreted as false
use if ( mssql_query(...) === false ). This "binds" the type returned by mssql_query(...)
to boolean. This only works for PHP 4+.
--
http://www.php.net/manual/en/function.mssql-query.php
http://master.php.net/manage/user-notes.php?action=edit+16240
http://master.php.net/manage/user-notes.php?action=delete+16240
http://master.php.net/manage/user-notes.php?action=reject+16240