0

MySQL 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 WHERE orderid='123'' at line 1

this is what I used

$query  = mysql_query("SELECT * FROM order WHERE orderid='123'")or die('<span class="error_span"><u>MySQL error:</u> ' . htmlspecialchars(mysql_error()) . '</span>'); 

I don't see any mistake in the code, can someone please help me out?

Adib
  • 359
  • 1
  • 6
  • 16

0 Answers0