Use symfony2 to connect to 2000 through odbc. Use the following code: $ resultsetodbcprepare ($ this-& amp; gt; conn, $ SQL); odbcexecute ($ resultset, $ para ); query data. results can be obtained only when the select statement is used, but query with ifelse...
Use symfony2 to connect to 2000 through odbc. Use the following code: $ resultset = odbcPrepare ($ this-> conn, $ SQL); odbcExecute ($ resultset, $ para); query data. results can be obtained only when the select statement is used. However, an error occurs in the query statement containing if else, I do not know how to solve this problem.
Reply content:
Use symfony2 to connect to 2000 through odbc. Use the following code: $ resultset = odbcPrepare ($ this-> conn, $ SQL); odbcExecute ($ resultset, $ para); query data. results can be obtained only when the select statement is used. However, an error occurs in the query statement containing if else, I do not know how to solve this problem.
Lower the error reporting level