Frequently Asked Questions
Batchmembers error?
-
Batchmembers error?
Posted on May 21, 2004
Written by
Sasha (view more by Sasha)
Filed under FAQ, PHPFanBase: Troubles, Scripts
I just put all my members in batchmembers.php and tried to run it, but I get the following 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 ” at line ##”.
This means you made a mistake somewhere in your file when adding the members to it. Most likely, you either forgot a comma ( , ) or apostrophe ( ‘ ) somewhere, you used an apostrophe in a member name or favorite and forgot to put a backslash ( \ ) in front of it to escape it, or you forgot to change the comma after the last member to a semi-colon ( ; ).
Check your file very very carefully, and try running it again.