Re: PHP/HTML

From: Date: Wed, 09 Apr 2003 16:55:21 +0000
Subject: Re: PHP/HTML
Groups: php.general 
Request: Send a blank email to php-general+get-143113@lists.php.net to get a copy of this message
"Harlan Lax" <hlax@optonline.net> wrote in message news:20030409163805.34550.qmail@pb1.pair.com... > in message news:004b01c2fe3e$e2338590$7c02a8c0@coconut... > "John W. Holmes" <holmes072000@charter.net> wrote > > > > <td width="<?=$width?>"> > > > > echo "<td width=\"$width\">"; > > > Thank you for the asistance. The other question is that I need to > concatinate the % symbol to the value I calculated. I trioed the concat > function but get an error. What is the syntax to this? Just add it to the string. You really need to go back to the tutorials or the manual if you're having trouble with this. Let's think about this. If I wanted either string above to say <tdd instead of <td, how would I do it? I'd simply add in the extra 'd' where I needed it, right? So do the same with the percent sign. <td width="<?=$width?>%"> echo "<td width=\"$width%\">; ---John Holmes...

« previous php.general (#143113) next »