On Mon, October 2, 2006 9:19 am, Jochem Maas wrote:
> David Tulloh wrote:
>> $mail_body .= "... Title: $row[title] </font>";
>
> does that actually work? not that I care - I still consider it wrong.
It's a Documented Feature...
How wrong can it be?...
[shrug]
Though I confess I've got more than a few nits to pick with documented
features myself, so I'll be the first to admit I'm the pot calling the
kettle black.
I gotta say, though, that adding the {} around it just looks plain
messy to me, and flip-flopping in/out of a string with a bunch of
concat operators does not appeal either, for the same reason.
If "...$row[title]..." is "just wrong" then I'd rather see this before
the alternatives above:
$title = $row['title'];
"...$title..."
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php