Quote:
Originally Posted by Mlk27
Oh..Is this corrent?
Code:
get_user_name(id, name, 31)
if(containi(name, "'"))
replace_all(name, 31, "'", "\'")
|
You don't need that.
Just do:
Code:
SQL_PrepareQuery(SqlConnection, "INSERT INTO rm_rates VALUES(^"%s^",^"%s^")", steamid, name)
(Names can't have quotes so you would be fine and will not waste resources)
__________________