note 98302 added to function.odbc-result-all
| From: | vaibhav at osu1 dot php dot net | Date: | Tue, 08 Jun 2010 07:49:28 +0000 |
| Subject: | note 98302 added to function.odbc-result-all | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-169931@lists.php.net to get a copy of this message | ||
code for php mssql odbc connection and executing an stored procedure
$package_code = 'AUS03B';
$client_id = 499;
$conn = odbc_connect(DSN,USER,PASS,SQL_CUR_USE_ODBC);
//SQL_CUR_USE_IF_NEEDED,SQL_CUR_USE_ODBC ,SQL_CUR_USE_DRIVER SQL_CUR_DEFAULT
$sql_result = odbc_prepare($conn, "EXEC usp_packagesearch_xml
'$package_code','$client_id'");
$result = odbc_execute($sql_result);
//$string = odbc_result($sql_result,1);
$string = odbc_result_all($sql_result,"border=1");
----
Server IP: 203.211.135.122
Probable Submitter: 203.126.85.133
----
Manual Page -- http://www.php.net/manual/en/function.odbc-result-all.php
Edit -- https://master.php.net/note/edit/98302
Del: integrated -- https://master.php.net/note/delete/98302/integrated
Del: useless -- https://master.php.net/note/delete/98302/useless
Del: bad code -- https://master.php.net/note/delete/98302/bad+code
Del: spam -- https://master.php.net/note/delete/98302/spam
Del: non-english -- https://master.php.net/note/delete/98302/non-english
Del: in docs -- https://master.php.net/note/delete/98302/in+docs
Del: other reasons-- https://master.php.net/note/delete/98302
Reject -- https://master.php.net/note/reject/98302
Search -- https://master.php.net/manage/user-notes.php