Jump to content

[SOLVED] Small error SQL


grahamb314

Recommended Posts

Hi all,

I have a small error on my php page

 

Query: 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 '* FROM `grahamb_test`.`booking` WHERE `confirmcode` = 'riyolafapa '' at line 1

 

from

 

else {$sql2 = mysqli_query($mysqli, "DELETE * FROM `grahamb_test`.`booking` WHERE `confirmcode` = '{$_POST["confirmcode"]}'") or die("Query:{$query} Error:".mysqli_error($mysqli));

{

 

any ideas?

Link to comment
https://forums.phpfreaks.com/topic/125988-solved-small-error-sql/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.