Home » » odbc_prepare

odbc_prepare

Written By 1 on Monday, October 1, 2012 | 6:22 PM

resource odbc_prepare ( resource $connection_id , string $query_string )
Prepares a statement for execution
Prepares a statement for execution. The result identifier can be used later to execute the statement with odbc_execute().

<?php
$a 
= 1;$b = 2;$c = 3;$stmt    = odbc_prepare($conn, 'CALL myproc(?,?,?)');$success = odbc_execute($stmt, array($a, $b, $c));?>


0 Comment:

Post a Comment