Thread
:
SQL Error when name contains apostrophe
View Single Post
Author
Message
Mlk27
Veteran Member
Join Date: May 2008
06-19-2009 , 19:29 SQL Error when name contains apostrophe
#
1
Code:
SQL_PrepareQuery(SqlConnection, "INSERT INTO rm_rates VALUES('%s', '%s')", steamid, name)
This will fail when player name contains apostrophe symbol, eg Rzzy 'o' B
Any idea how to fix this?
Mlk27
View Public Profile
Send a private message to Mlk27
Find More Posts by Mlk27