note 34396 rejected from function.mssql-query by alindeman

From: Date: Fri, 25 Jul 2003 17:25:40 +0000
Subject: note 34396 rejected from function.mssql-query by alindeman
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-52653@lists.php.net to get a copy of this message
Note Submitter: eric@intellikit.com ---- help. i would like to know whether a transaction is successful or not, what should i do? right now i have something like this: ********************TSQL****************** declare @success int BEGIN TRAN ... ... ... IF (@@ERROR<>0) BEGIN set success=1 COMMIT TRAN END select @success as success ***************************************** $res=mssql_query([that_whole_thing],$db_link) but $o=mssql_fetch_object($res) returns nothing, same with mssql_fetch_array. anyone have any ideas?

« previous php.notes (#52653) next »