Re: Couple of beginner questions

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

 



On Sun, 2009-01-11 at 10:44 -0500, Eric Butera wrote:
> On Sun, Jan 11, 2009 at 10:36 AM, Ashley Sheridan
> <ash@xxxxxxxxxxxxxxxxxxxx> 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


[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