Re: alternatively

From: Date: Mon, 02 Oct 2006 17:16:13 +0000
Subject: Re: alternatively
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-242485@lists.php.net to get a copy of this message
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 .= "<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 žËzEÑ > E+MrÕ >ühttp://uk.php.net/manual/en/language.types.string.php#language.types.string.parsing.simple ah, I must have supressed that information a long time ago ;-). > > 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@leedsmet.ac.uk > 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 >

« previous php.general (#242485) next »