mssql_query bug in php4-04pl
| From: | Yuri Kruglov | Date: | Thu, 18 Jan 2001 14:33:20 +0000 |
| Subject: | mssql_query bug in php4-04pl | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-35349@lists.php.net to get a copy of this message | ||
Hi all,
Instead of positive MS SQL result identifier on success, function mssql_query() returns empty result for DELETE or UPDATE SQL statement. SQL statement is executed although, but if I use (for example) follow construction:
$res = mssql_query($sql,$db) or die_msg("Error message");
then even if sql query in $sql executed succesfully, $res is empty and function die_msg is called!
Because of this I was forced to switch back to php4-0-3 !
regards,
YK
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.