Re: how to display a font with two words???

From: Date: Wed, 14 Jan 2004 03:21:54 +0000
Subject: Re: how to display a font with two words???
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-174515@lists.php.net to get a copy of this message
On Wednesday, January 14, 2004, at 11:59 AM, Matt Hedges wrote:
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

« previous php.general (#174515) next »