Re: [PHP-DB] CSV TO MYSQL

2001-08-27 Thread Chris Hobbs
Are you running php3 or php4? 'foreach' was added in php4, which might explain your error. If you're running php3, try replacing that line with: while(list($key,$email) = each($emails)) { I don't know if this works in php3 or not, but would be worth a shot. Rupert L. Hussey wrote: > Hi Chris

RE: [PHP-DB] CSV TO MYSQL

2001-08-27 Thread Ryan Marrs
HP-DB] CSV TO MYSQL How about this: Rupert wrote: > Ok, this is my issue - hope someone can help. Suppose I also need to get > this out of the way too - I am a Newbie (god..I hate that word...but it's > true.grin!) > > Anyway, I have a list of email address that I wan

Re: [PHP-DB] CSV TO MYSQL

2001-08-27 Thread Chris Hobbs
How about this: Rupert wrote: > Ok, this is my issue - hope someone can help. Suppose I also need to get > this out of the way too - I am a Newbie (god..I hate that word...but it's > true.grin!) > > Anyway, I have a list of email address that I want to dump into a database > called (new

[PHP-DB] CSV TO MYSQL

2001-08-27 Thread Rupert
Ok, this is my issue - hope someone can help. Suppose I also need to get this out of the way too - I am a Newbie (god..I hate that word...but it's true.grin!) Anyway, I have a list of email address that I want to dump into a database called (news) - eg. [EMAIL PROTECTED] [EMAIL PROTECTED] [