![]() |
Informix not escape column and table name - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6) +--- Forum: CodeIgniter 3.x (https://forum.codeigniter.com/forumdisplay.php?fid=17) +--- Thread: Informix not escape column and table name (/showthread.php?tid=70488) |
Informix not escape column and table name - CiUser - 04-16-2018 Hi all, Is there any way to avoid escaping column and table names in Informix driver? For example, if I make an insert call with this params: PHP Code: $values = array( But Informix ODBC driver throw a fatal error like this PHP Code: [Informix][Informix ODBC Driver][Informix]A syntax error has occurred. PHP Code: INSERT INTO my_table (field_1, field_2) VALUES ("value_1", "value_2") Note: I've tried to set PHP Code: $this->_escape_char = ''; Code: /system/database/drivers/pdo/subdrivers/pdo_informix_driver.php Thanks in advance. |