ผมใช้ function mysql_qeury() >>
$sql = "insert into zodic_order(order_id, customer_id, order_date, order_place, pay_by_id, order_status_id) values(3, 2, '2007-08-03 1824', 'asdadasdaddfg dfasd as ', 1, 1); nsert into zodic_order_detail(order_id, product_id, unit) values(3, 7, 10); insert into zodic_order_detail(order_id, product_id, unit) values(3, 9, 5);";
mysql_qeury($sql);
มัน return 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 '; insert into zodic_order_detail(order_id, product_id, unit) values(3, 7, 10); i' at line 1