I'm trying to specify <font face=Monotype Corsiva> in my php document... but
can't b/c it's two words... if it was html I could just put "", but since I
can't do that in php, does anyone know what to do?
Matt,
You have plenty of options...
Escape the quotes with a slash: echo "<font face=\"Monotype Corsiva\">";
Use combinations of single and double: echo "<font face='Monotype Corsiva'>"; echo '<font face="Monotype Corsiva">';
Escape from PHP: <? ... ?><font face="Monotype Corsiva"><? ... ?>
I won't bother to discuss the <font> tag being deprecated, since it's OT :)
Justin
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php