这个sql语法有什么问题?

$sql3 = 
    "INSERT INTO `orders` (cid, eid, order, date_ordered, date_called, status) 
  VALUES ('$cid', '$eid', '$order', '$date_ordered', '$date_called', '$status')";

The error is:

Error: 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, date_ordered, date_called, status) VALUES ('0012', '0', 'gydfhtfhjghj', '' at line 1

ORDER is a reserved word. So you can escape it with backticks:

$sql3 = 
"INSERT INTO `orders` (cid, eid, `order`, date_ordered, date_called, status) 
 VALUES ('$cid', '$eid', '$order', '$date_ordered', '$date_called', '$status')";

ORDER is a reserved keyword. Use a different name or wrap it in backticks (they're not called quotes apparently).

`order`