Re: how to set font colors

From: Date: Sun, 14 Oct 2001 05:10:28 +0000
Subject: Re: how to set font colors
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-71016@lists.php.net to get a copy of this message
You have to escape your embedded quotes. Try this: <font color=\"#FFFFFF\">$user[0]</font> -- Gaylen gfraley5@earthlink.net http://www.gaylenandmargie.com PHP KISGB v2.0 Guestbook http://www.gaylenandmargie.com/publicscripts "Regis Philbin" <regis@nbc.com> wrote in message news:20011014045203.81212.qmail@pb1.pair.com... > I'm trying to modify some font collors. The author has indicated that I just > need to insert standard markup tags. Below, is the unmodified code. > > > echo " > > <dl><dt><b>$user[0]</b>&nbsp;&nbsp;$mailadd&nbsp;$urladd&nbsp;&nbsp;($user[3 > ]) > <dt><dd>$user[4]</dd>\n</dl>"; > > > > the normal font tags like the example below return an error. > <font color="#FFFFFF">$user[0]</font> > > Is this done differently in php? > >

« previous php.general (#71016) next »