Archive > BeBot 0.3 support

Apostrophe in guild name = mysql error

(1/1)

Reduce:
I didn't see a topic with this, but I'm sure it's occured before :)
Just got home & checked the bot, and saw this error.
http://ab.sytes.net/mysql_error.gif
I haven't written any SQL statements in awhile, but could double quotes be used to prevent this error, or would it cause problems elsewhere? hehe

Alreadythere:
That's a sure case of a missing mysql_escape_string() call.

Alreadythere:
Corrected in SVN, thanks for reporting.

Navigation

[0] Message Index

Go to full version