using (-) dash in mysql table name -
there error while want backup database
a database error occurred  error number: 1064  have error in sql syntax; check manual corresponds mysql server version right syntax use near '-01-000001' @ line 1  select * temp_01-01-000001  filename: f:\xampp\htdocs\erp_zaara\system\database\db_driver.php  line number: 330   is there way solve prob table name (temp_01-01-000001).
you edit line 132 of file /system/database/drivers/mysql/mysql_utility.php
from:
$query = $this->db->query("select * $table");   to:
$query = $this->db->query("select * `$table`");      
Comments
Post a Comment