[MYSQL] Either queries or sscanf crash the server
#9

Got it!

Change to:

pawn Код:
if(!sscanf(string1, "d", integer))
You store the HouseID to string1, when str stores the query!

It's not necessary to use mysql_real_escape_string for the whole query, just the input which is string.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)