View Single Post
Author Message
Mlk27
Veteran Member
Join Date: May 2008
Old 06-19-2009 , 19:29   SQL Error when name contains apostrophe
Reply With Quote #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 is offline