[eluser]Imran Tariq[/eluser]
You should follow the following steps.
1. Upload a CSV file to your server.
2. Manipulate it (using fopen() and fgetcsv()).
3. Generate a query for each record.
4. Execute that query.
[eluser]Imran Tariq[/eluser]
Just to let you know that I have converted my code snippet in an advance shape in which you can associate CSV columns to MySQL Table fields. I will be able to post my code in a couple of days.