Re: [PHP] email with multiple records

2001-03-07 Thread Miles Thompson
Embarrassing, isn't it? Do you have a loop building messages, with something like $msgbody .= $data_to_send THat little " . " caught me. I was emailing usernames and passwords -- fortunately it was an obvious error. Miles At 01:22 PM 3/7/01 -0500, WreckRman2 wrote: >I wrote a small script l

RE: [PHP] email with multiple records [code included]

2001-03-07 Thread David Smith
else { ?> -Original Message- From: David Smith [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 07, 2001 1:49 PM To: Chris Lee; [EMAIL PROTECTED] Subject: RE: [PHP] email with multiple records Thanks, I should have drop a code snippet in there... My problem was the

RE: [PHP] email with multiple records

2001-03-07 Thread David Smith
Thanks, I should have drop a code snippet in there... My problem was the .= -Original Message- From: Chris Lee [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 07, 2001 11:39 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] email with multiple records suppy a code snippit and I would have

Re: [PHP] email with multiple records

2001-03-07 Thread Chris Lee
suppy a code snippit and I would have a huge advantage here, but I'll swing in the dark on this ok. your looping all this in a for/while/foreach loop right. your generating the body like this ? foreach($people as $pos => $val) { $email_body .= 'name is '. $people[$pos]['name'] ."\n";

[PHP] email with multiple records

2001-03-07 Thread WreckRman2
I wrote a small script like a email list only when I run it with 3 emails. The first record gets his info, 2nd get his plus first, 3rd get his plus 2nd and 1st. Why is it doing this? David Smith Number 3 record gets email with: - Hi [EMAIL PROTECTED], Your email is