Hi Kancha,
Try this one.
$to=trim($staff[$x]);
Kelvin.
"kancha" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> Hi all
>
> I have a text file with email addresses. Each line contains one email
> address. I read the file using file() function. Below i
That is not the problem. @ and . need not be escaped. It's got to do with
the array that stores the file. Just need to dump the array and try to
debug.
Any idea on how I can dump an array
regards,
kancha
On Thu, 26 Apr 2001 00:30:40 +0530, Subodh Gupta wrote:
> Hi Kancha,
>
> Since you a
not in things, it is in us.
You will ultimately be known by what you give and not what you get.
- Original Message -
From: "kancha" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 25, 2001 6:57 PM
Subject: [PHP-DB] file and mail
Hi all
I have a
> Hi all
>
> I have a text file with email addresses. Each line contains one email
> address. I read the file using file() function. Below is a snippet of my
> code
>
> $staff = file("staff");
> for($x=0; $x$to = $staff[$x];
>mail($to, "New User Added", $mailBody, "From: [EMAIL PROTECTED
Hi all
I have a text file with email addresses. Each line contains one email
address. I read the file using file() function. Below is a snippet of my
code
$staff = file("staff");
for($x=0; $xhttp://www.bluemountain.com/giftcenter/
--
PHP Database Mailing List (http://www.php.net/)
To unsu