On Mon, October 2, 2006 9:19 am, Jochem Maas wrote:
> David Tulloh wrote:
>> $mail_body .= "... Title: $row[title] ";
>
> 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 n
Take out the ' for array keys inside of "
"...$row[title]..."
Which *does* seem kind of whack, honestly, but so it goes...
On Mon, October 2, 2006 7:13 am, Ross wrote:
> How can I get this line to work
>
> $mail_body .= " sans-serif\"> Title: $row['title'] ";
>
> The $row['title'] variable is
Just use {$row['title']} or ${row['title']}, it will save you headaches. I
may be a purist, but it's also satisfying as it still indicates the array
element is a string rather than a constant. Anyway, the above two methods
are the preferred way I think.
Ford, Mike wrote:
> On 02 October 2006 15:20, Jochem Maas wrote:
>
>> David Tulloh wrote:
>>> Ross wrote:
How can I get this line to work
$mail_body .= ">>> sans-serif\"> Title: $row['title'] ";
The $row['title'] variable is the problem.
>>> Drop the quotes when you are in
On 02 October 2006 15:20, Jochem Maas wrote:
> David Tulloh wrote:
> > Ross wrote:
> > > How can I get this line to work
> > >
> > > $mail_body .= " > > sans-serif\"> Title: $row['title'] ";
> > >
> > > The $row['title'] variable is the problem.
> >
> > Drop the quotes when you are inside a quo
David Tulloh wrote:
> Ross wrote:
>> How can I get this line to work
>>
>> $mail_body .= "> sans-serif\"> Title: $row['title'] ";
>>
>> The $row['title'] variable is the problem.
>
> Drop the quotes when you are inside a quoted string.
> $mail_body .= "... Title: $row[title] ";
does that actually
Ross wrote:
> How can I get this line to work
>
> $mail_body .= " sans-serif\"> Title: $row['title'] ";
>
> The $row['title'] variable is the problem.
Drop the quotes when you are inside a quoted string.
$mail_body .= "... Title: $row[title] ";
--
PHP General Mailing List (http://www.php.net/)
7 matches
Mail list logo