note 105908 added to function.mssql-execute

From: Date: Sat, 24 Sep 2011 19:08:39 +0000
Subject: note 105908 added to function.mssql-execute
Groups: php.notes 
Request: Send a blank email to php-notes+get-183408@lists.php.net to get a copy of this message
Got the second example wrong in my previous note: <?php /** * using OUTPUT param with one result set returned from stored procedure */ $outParamValue = 0; mssql_bind($stmt, '@'.$outParamName, $outParamValue, $outParamType, $is_output = true); $result = mssql_execute($stmt); echo($outParamValue); /* will still be 0 */ mssql_next_result($result); /* N.B. see the Note above about this */ echo($outParamValue); /* correct output */ ?> ---- Server IP: 69.147.83.197 Probable Submitter: 109.132.169.40 ---- Manual Page -- http://www.php.net/manual/en/function.mssql-execute.php Edit -- https://master.php.net/note/edit/105908 Del: integrated -- https://master.php.net/note/delete/105908/integrated Del: useless -- https://master.php.net/note/delete/105908/useless Del: bad code -- https://master.php.net/note/delete/105908/bad+code Del: spam -- https://master.php.net/note/delete/105908/spam Del: non-english -- https://master.php.net/note/delete/105908/non-english Del: in docs -- https://master.php.net/note/delete/105908/in+docs Del: other reasons-- https://master.php.net/note/delete/105908 Reject -- https://master.php.net/note/reject/105908 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#183408) next »