|
Posted by Toby A Inkster on 04/02/07 12:17
andy.z wrote:
> If I set a varaible as
>
> $EOL = "\r\n"
>
> But then want to echo that to a HTML page to see the above string
> i.e. \r\n
>
> by doing: echo($EOL);
Do you mean that you want the page to have the exact string:
backslash, r, backslash, n
??
If so, then use 'single quotes' when setting $EOL, not "double quotes".
--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
Geek of ~ HTML/SQL/Perl/PHP/Python*/Apache/Linux
* = I'm getting there!
Navigation:
[Reply to this message]
|