A Database Error Occured
Error number 1064
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order='a:70 ... at line 1.
Как решить? Видать ошибка из за кавычек, но как сделать, чтобы он пропускал ее. Такой запрос:
$this->db->query("UPDATE `order` SET name='$name', date='$date', adres='$adres', tel='$tel',metro='$metro',text='$text',order='$ar' WHERE id='$id'");