Re: Couple of beginner questions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux