Posted by Rami Elomaa on 04/02/07 15:37
andy.z@blueyonder.com kirjoitti:
> 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);
>
> How do I do it?
>
> I've tried quotemeta, addslashes and htmlspecialchar
> but can't seem to work it out.
>
> thanks
>
> Andy
$EOL = "\\r\\n";
--
Rami.Elomaa@gmail.com
"Olemme apinoiden planeetalla."
[Back to original message]
|