Forum Moderators: coopster
I have a list of email addresses which I would like to insert into a MySQL (version 2.6.0) table which has the fields id, username, pw, email, lastupdated.
Is there a way to adapt the following code to insert all of them at once? I basically want to ignore id, username, pw, lastupdated.
INSERT INTO mail(email) VALUES ('bob@bob.com');
INSERT INTO mail(email) VALUES ('geoff@geoff.com');
Any suggestions most welcome.