[eluser]EdgeTube[/eluser]
Hi there,
Here's my code:
Code:
$this->db->query("INSERT INTO orders (number, description, status, note, location, email, firstname, lastname, address) VALUES
('{$password}', '{$_POST['description']}', '{$_POST['status']}', '{$_POST['note']}', '{$_POST['location']}, '{$_POST['email']}', '{$_POST['firstname']}',
'{$_POST['lastname']}', '{$_POST['address']}')");
Now I don't see what is the error with this code, but I am receiving this error:
Quote: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 ...
Any ideas on how to fix this issue?
Thanks!