YamiKaitou
Member
- Messages
- 636
- Reaction score
- 0
- Points
- 16
How can I fix this error?
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 ' `Reinstallation of database`)' at line 1
Code dealing with that line:
&id is defined elsewhere
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 ' `Reinstallation of database`)' at line 1
Code dealing with that line:
Code:
$reason = "\'Reinstallation of database\'";
$log = "INSERT INTO `develop_log` (`Num`, `User`, `Action`) VALUES (NULL, $id, $reason);";
mysql_query($log) or die (mysql_error());