Page 1 of 1

Trying to echo " in html

Posted: Thu Aug 26, 2004 4:32 am
by Perfidus
Is it possible to echo " somehow?
I need to render a script that wont work if there are no real double quotes there and I don't know how to!!

<? echo "<a href='#' onClick='MM_openBrWindow(...........

The onClick event doesn't recognise the orders if they are not double quoted ""

:(

Posted: Thu Aug 26, 2004 5:06 am
by markl999
So use echo '<a href="#" onClick="MM_openBrWindow( ..... ';

Posted: Thu Aug 26, 2004 5:55 am
by Illusionist
or "<a href=\"#\" onClick=\"MM_openBrWindow( .....";