Possible Duplicate:
Import large csv file to mysql database using php
1. I have a .txt file named un.txt in my public_html folder with 4000 usernames arranged like this:
username1,username2,username3,.....
2. and I have a created a table named oldusernames in database members. The table has only one column named oldusers. I'm using MySql.
How can I import all usernames from file un.txt to my database(members) table(oldusernames) in oldusers field using PHP?