how do i surpress an error message for a foreach statement?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Get rid of the error
Quoting shaun [EMAIL PROTECTED]:
### how do i surpress an error message for a foreach statement?
###
###
###
### --
### PHP General Mailing List (http://www.php.net/)
### To unsubscribe, visit: http://www.php.net/unsub.php
###
###
--
Richard Whitney *
Transcend
){
//do stuff
}
}
-Original Message-
From: shaun [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 25, 2003 3:23 PM
To: [EMAIL PROTECTED]
Subject: [PHP] foreach statement
how do i surpress an error message for a foreach statement?
--
PHP General Mailing List (http
]
To: shaun [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, March 25, 2003 3:34 PM
Subject: RE: [PHP] foreach statement
You don't.
From http://www.php.net/manual/en/control-structures.foreach.php
Note: foreach does not support the ability to suppress error messages
using
'@'.
You should
-General
Subject: RE: [PHP] foreach statement
Hey Niklas
yea thats what I want, just one thing
foreach($emails as $this_is_one_address) {
would it be
foreach($emails) {
or am I missing something in there ?
?
?
$sms_list = test_number; // This is the file with one e-mail address
Thanks!! its working !!!
***BIG SMILE
Niklas you genious
-Original Message-
From: Niklas Lampén [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 09, 2002 10:15 AM
To: Php-General
Subject: RE: [PHP] foreach statement
Foreach works in PHP just like I told.
foreach
You're welcome. :)
Niklas
P.S. I know... ;)
-Original Message-
From: Chris Grigor [mailto:[EMAIL PROTECTED]]
Sent: 9. tammikuuta 2002 10:23
To: '[EMAIL PROTECTED]'; Php-General
Subject: RE: [PHP] foreach statement
Thanks!! its working !!!
***BIG SMILE
Niklas you genious
Okay lets see who has there thinking caps on today (cos I really dont)
I have a list of email addresses stored in a text file.
I am able to run the script and get all the mail addresses in the list
mailed but
thats all in one mail. I want to be able to open the file, chop each line
and send
};
Niklas
-Original Message-
From: Chris Grigor [mailto:[EMAIL PROTECTED]]
Sent: 9. tammikuuta 2002 8:59
To: 'Php-General-List (E-mail)'
Subject: [PHP] foreach statement
Okay lets see who has there thinking caps on today (cos I really dont)
I have a list of email addresses stored
: [PHP] foreach statement
Okay lets see who has there thinking caps on today (cos I really dont)
I have a list of email addresses stored in a text file.
I am able to run the script and get all the mail addresses in the list
mailed but
thats all in one mail. I want to be able to open the file
11.44 PM
Subject: RE: [PHP] foreach statement
Hey Niklas
yea thats what I want, just one thing
foreach($emails as $this_is_one_address) {
would it be
foreach($emails) {
or am I missing something in there ?
?
?
$sms_list = test_number; // This is the file
11 matches
Mail list logo