At 12:25 PM -0500 1/11/09, Robert Cummings wrote:
Although, to be honest I tend to vertically spread my tags/attributes: $imgHTML = '<img' .' src="'.$url.'"' .' alt="'.$alt.'"' .' title="'.$alt.'"' .' class="'.$imgclass.'"' .' />'; This makes it easy to see at a glance what is there and to also comment out lines easily.
I vertically stack variables as well, such as in developing a long MySQl $query, but I don't include any html in my echo statements. That's just a private rule of mine that is sometimes broken by client needs.
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