On 02 October 2006 15:20, Jochem Maas wrote: > David Tulloh wrote: > > 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>"; > > does that actually work? Not only works, but fully documented as a valid method -- see http://uk.php.net/manual/en/language.types.string.php#language.types.string.parsing.simple Cheers! Mike --------------------------------------------------------------------- Mike Ford, Electronic Information Services Adviser, Learning Support Services, Learning & Information Services, JG125, James Graham Building, Leeds Metropolitan University, Headingley Campus, LEEDS, LS6 3QS, United Kingdom Email: m.ford@xxxxxxxxxxxxxx Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211 To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php