Re: Couple of beginner questions

From: Date: Mon, 12 Jan 2009 14:02:40 +0000
Subject: Re: Couple of beginner questions
References: 1 2 3 4 5 6 7 8 9 10 11  Groups: php.general 
Request: Send a blank email to php-general+get-286085@lists.php.net to get a copy of this message
At 3:36 PM +0000 1/11/09, Ashley Sheridan wrote:
I was thinking more along the lines of this: [1] echo "<img src=\"$url\" alt=\"$alt\" title=\"$alt\" class=\"$imgclass \"/>"; which looks like this otherwise: [2] <img src="<?php echo($url);?>" alt="<?php echo($alt);?>" title="<?php echo($alt);?>" class="<?php echo($imgclass);?>"/>
Ash: I see and understand what you are saying. To me, [2] is more understandable/preferable than [1]. To each their own. Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com

« previous php.general (#286085) next »