Re: array in email

From: Date: Sun, 30 Dec 2001 17:17:56 +0000
Subject: Re: array in email
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-79065@lists.php.net to get a copy of this message
Thanks George...that did the trick...sometimes I want to smack myself for not seeing the obvious. Thanks for the help. -Jordan George Nicolae <geomasterweb@hotmail.com> wrote in message news:20011230074351.23747.qmail@pb1.pair.com... > the mail function looks like : mail($to,$subject,$body) ("in a simplistic > manner") > you can use > > $to="mail@mail.com"; > $subject="test"; > for ($i=0;i<count(a)/*your array*/;$i++) > $body.=a[i]; > > file://and then, of course > mail($to,$subject,$body); > -- > > > Best regards, > George Nicolae > IT Manager > ___________________ > X-Playin - Professional Web Design > www.x-playin.f2s.com > > > > "Jordan" <newimagedesign@newimagedesign.com> wrote in message > news:20011230061325.8088.qmail@pb1.pair.com... > > I've searched the archive but can't seem to find anything on the mail() > > function of PHP. I've got the whole function working in a simplistic > manner > > but I can't do one thing. How is it possible to print arrays inside the > > body of the message. I can't seem to run a loop or anything and all I > have > > are session variables to use. Thanks in advance for the help. > > > > -Jordan > > > > > >

« previous php.general (#79065) next »