|
Posted by dave.degroot on 05/11/07 17:32
On May 11, 1:05 pm, Geoff Berrow <blthe...@ckdog.co.uk> wrote:
> Message-ID: <1178893266.280479.8680@h2g2000hsg.googlegroups.com> from
> ZeldorBlat contained the following:
>
> > $mailcontent = 'Customer name: '.$name." \n" .
> > 'Customer address: '.$address." \n" .
> > 'Thermostats Ordered: '.
> >$thermostqty2." \n" .
> > 'Sparkplugs Ordered: '.$spkplgqnt."
> >\n" .
> > 'Tyers Ordered: '.$tireqnt." \n";
>
> I know that's seen by some as the correct way to do it, but all that
> concatenation is a right pain.
>
> I much prefer this
>
> $mailcontent = "Customer name: $name
> Customer address: $address
> Thermostats Ordered: $thermostqty2
> Sparkplugs Ordered: $spkplgqnt
> Tyers Ordered: $tireqnt\n";
>
> --
> Geoff Berrow (put thecat out to email)
> It's only Usenet, no one dies.
> My opinions, not the committee's, mine.
> Simple RFDshttp://www.ckdog.co.uk/rfdmaker/
Thanks man, that works like a charm.
d.
Navigation:
[Reply to this message]
|