Re: Could be this less complicated?

From: Date: Thu, 10 Aug 2000 18:33:35 +0000
Subject: Re: Could be this less complicated?
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-1939@lists.php.net to get a copy of this message
Try this: <?php $tag=5555; echo '<TD bgcolor="#56a4d8"><FONT size=1><INPUT maxLength=5 name=tag disabled value="'.$tag.'"style="HEIGHT: 22px; WIDTH: 89px"></FONT></TD>'; ?> Vojtìch Dvoøák wrote: > > Hi, > I am just fighting with quotes problem. > I know a solution for it, but is this easiest way how to do that? > > <?php > $tag=5555; > echo '<TD bgcolor="#56a4d8"><FONT size=1><INPUT maxLength=5 > name=tag > disabled value="'; > echo "$tag"; > echo '" style="HEIGHT: 22px; WIDTH: > 89px"></FONT></TD>'; > ?> > > It works (it print a field with 5555), but I have to cut the line to three > lines in PHP... is there any other way how I can work with '," etc.? > > thanks > Vojtech > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net > For additional commands, e-mail: php-db-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.db (#1939) next »