Posted by Toby A Inkster on 04/27/07 16:15
-Lost wrote:
> Huh? addslashes would yield a\\nb\\nc. That is effectively escaping
> newlines is it not?
In the given example:
$phpfoo = "a\nb\nc";
No, it would not. addslashes() wouldn't do anything to that string.
--
Toby A Inkster BSc (Hons) ARCS
http://tobyinkster.co.uk/
Geek of ~ HTML/SQL/Perl/PHP/Python*/Apache/Linux
* = I'm getting there!
[Back to original message]
|