On Wednesday 03 July 2002 09:54, C. Cormier - Ormetal Inc. wrote:
> I need to echo a string that contains both quotes and double
> quotes.
>
> I remember doing this once using a special construct where the
> string started on a new line with a triple slash if I remember well. Or
> it was a triple something...
>
> I can't find the topic in the online PHP doc...
>
> Anybody remember this construct?

echo "'\""; # displays '"
echo '\'"'; # displays '"

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *

/*
Unix soit qui mal y pense
        [Unix to him who evil thinks?]
*/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to