Re: Couple of beginner questions

From: Date: Sun, 11 Jan 2009 16:00:04 +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-286028@lists.php.net to get a copy of this message
On Sun, 2009-01-11 at 10:44 -0500, Eric Butera wrote: > On Sun, Jan 11, 2009 at 10:36 AM, Ashley Sheridan > <ash@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

« previous php.general (#286028) next »