使用symfony2通过odbc连接到了2000,使用一下代码:
$resultset=odbcprepare($this->conn,$sql);
odbcexecute($resultset,$para);
查询数据,在只有select语句的情况下能够取得结果,但是在含有 if else 的查询语句中,会出现错误,不知如何解决。

Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
降低报错级别啊