|
我的代码
PHP复制代码
$DB2 = $this->load->database('bgora', TRUE);
$query=$DB2->get_where('administrator',array('USER_NAME'=>$username,'password'=>$password));
复制代码
生成的sql:
SELECT * FROM "administrator" WHERE "USER_NAME" = '111' AND "password" = '111'
表名和字段名都带有引号,导致oracle数据库查询不了,怎么办?
|
|