Re: [PHP] Array Elements & While Loops

2001-10-01 Thread Steve Cayford
Where is the closing brace for your while loop? -Steve On Monday, October 1, 2001, at 07:04 AM, Tom Churm wrote: > hi, > > my problem is this: i'm using a while loop to check elements in an > Array for valid email syntax. if $User[0] is a valid email address but > $User[1] is not, the code f

[PHP] Array Elements & While Loops

2001-10-01 Thread Tom Churm
hi, my problem is this: i'm using a while loop to check elements in an Array for valid email syntax. if $User[0] is a valid email address but $User[1] is not, the code for $User[0] is still executed before the die statement. i need my loop to finish checking ALL array elements for validity, an