I am trying to insert records using csv. I want to upload csv to my Application and want to import it in database. Now I have a users table so i want to create users by impo
From a 2 second Google and the PHP docs:
$csv = array_map('str_getcsv', file('data.csv'));
Then you can loop through the Array and UPDATE your DB
UPDATE