for($z=0;$zWhat is the difference between this code and using a "foreach" command?
Nothing, really. Using a foreach() simply means you don't have to keep
up with the $z count variable...
foreach($recipient as $email)
{ mail($email,$subject,$message,$headers); }
--
---John Holmes...
Amazon Wishlis
John W. Holmes wrote:
>
> mcp6453 wrote:
>
> > I'm using Jack's PHP FormMail script, and I need to change it. I know
> > very little abou PHP, but here's what I very much need to do right away.
> >
> > I need the script to send the same hard coded message to each of 10
> > people. All of the emai
mcp6453 wrote:
I'm using Jack's PHP FormMail script, and I need to change it. I know
very little abou PHP, but here's what I very much need to do right away.
I need the script to send the same hard coded message to each of 10
people. All of the email addresses do not need to be in the "To" field.
O
I'm using Jack's PHP FormMail script, and I need to change it. I know
very little abou PHP, but here's what I very much need to do right away.
I need the script to send the same hard coded message to each of 10
people. All of the email addresses do not need to be in the "To" field.
Only the intend
4 matches
Mail list logo