On Sun, 2009-01-11 at 10:44 -0500, Eric Butera wrote:
> On Sun, Jan 11, 2009 at 10:36 AM, Ashley Sheridan
> <a...@ashleysheridan.co.uk> wrote:
> > echo "<img src=\"$url\" alt=\"$alt\" title=\"$alt\" class=\"$imgclass
> 
> Gross!  If that is what you're doing use a printf or change attr
> quotes to '.  I've seen entire html pages escaped out like that.
> 
No it was just an example, normally in that situation I use heredoc, but
I felt it unfair to deviate from the example I'd previously been using
as a comparison to the code separation method.


Ash
www.ashleysheridan.co.uk


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

Reply via email to