ODBC prepared statements in PHP

前端 未结 6 546
后悔当初
后悔当初 2020-12-05 19:33

I\'m trying to use odbc_prepare and odbc_execute in PHP as follows:

$pstmt=odbc_prepare($odb_con,\"select * from configured where param_name=\'?\'\");
$res=o         


        
6条回答
  •  醉话见心
    2020-12-05 20:10

    EDIT:

    Gah, ignore me, misread php.net

    odbc_fetch_array accepts as it's parameter the result of odbc_execute, you seem to be passing in the prepared statement.

提交回复
热议问题