SA-MP Forums Archive
php escaping - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Other (https://sampforum.blast.hk/forumdisplay.php?fid=7)
+--- Forum: Everything and Nothing (https://sampforum.blast.hk/forumdisplay.php?fid=23)
+--- Thread: php escaping (/showthread.php?tid=625305)



php escaping - MerryDeer - 31.12.2016

Hi,

If i escape something to variable

$escapedtext = escape(......);

If i assign to other variable like


$blablbla = $escapedtext;

Escaping still be in $blablbla?


Re: php escaping - Spmn - 31.12.2016

Yes.


Re: php escaping - SickAttack - 02.01.2017

There would be no need if you use prepared statements.