A Database Error Occured
Error number 1064
You have an error in your SQL syntax; check the syntax for the use of the syntax to use the 'order =' a: 70 ... at line 1.
How to solve? See the error because of the quotes, but how to make him miss it. Such a request:
$this->db->query("UPDATE `order` SET name='$name', date='$date', adres='$adres', tel='$tel',metro='$metro',text='$text',order='$ar' WHERE id='$id'");