Re: alternatively

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

 



Ross wrote:
> How can I get this line to work
> 
> $mail_body .= "<font size=\"2\" face=\"Verdana, Arial, Helvetica, 
> sans-serif\"> Title: $row['title'] </font>";
> 
> The $row['title'] variable is the problem.

Drop the quotes when you are inside a quoted string.
$mail_body .= "... Title: $row[title] </font>";

-- 
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