SA-MP Forums Archive
Use \n in query - 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: Use \n in query (/showthread.php?tid=603287)



Use \n in query - ScIrUsna - 21.03.2016

Hi,

Can i use \n in query for ex:

I send that message

format( String, 50,"hello my name is\nname");

Код:
mysql_tquery("UPDATE userstables SET anystring='%s'",  String );
?


Re: Use \n in query - YouServ - 21.03.2016

Yes, why not? Try yourself.