SA-MP Forums Archive
Fix few errors - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Fix few errors (/showthread.php?tid=597571)



Fix few errors - DetoNater - 02.01.2016

I want to escape string used mysql_escape_string (dsave, Timestamptodate (donateexpire [playerid], y,m,d,h,mi,s,5,30));

But error is argument type mismatch , is there any problem. But Timestamptodate works fine in other cases.

P.S : I updated to jochemd's Timestamptodate new version, before that old version worked good.

Another issue : I want to escape string while searching for ban in databas, in query
I did use, Mysql escape string but didn't work , For example a player's name is Nitro I searched in the query for nitro Mysql didn't return the value since the first letter is in capital, any ways to fix this ??

Thanking you.


Re: Fix few errors - DetoNater - 06.01.2016

-Bump-