mysql_escape_string - destination size is too small (must be at least as big as source)
#2

For an example :
You do it under zcmd then it will be something like this
Код:
 
CMD:blah(playerid,params[])
{
new EscapeSmthing[ 100 ];
mysql_real_escape_string(params,EscapeSmthing);
}
On player text then
Код:
new EscapeSmthing[ 100 ];
mysql_real_escape_string(text,EscapeSmthing);
https://sampwiki.blast.hk/wiki/MySQL#mys..._escape_string

Once have a look there , if any doubt don't hesitate to message me. Good day.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)