note 50264 deleted from function.mssql-query by betz

From: Date: Sun, 24 Apr 2005 07:30:04 +0000
Subject: note 50264 deleted from function.mssql-query by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-88468@lists.php.net to get a copy of this message
Note Submitter: gerard at tenyks dot net ---- Warning ! with php 4.3.10, when you use mssql_query to insert or update data, the returned result is false but the query is really executed. So you don't know if the query was really executed or not :/ I found a way around this that works for me... $php_errormsg = ""; $result = mssql_query($sql, $db_conn); echo $php_errormsg; If the query has failed $php_errormsg is set to "Query failed" if its empty. Then as far as i can tell the query executed normally... This only works if track_errors is enabled.

« previous php.notes (#88468) next »