Currently I am developing this admin dashboard which allows me to add, delete, rename the columns of a database. I also have a csv import php script, which allows me to populate the database. But when I edit, add or remove a column from the table, obviously my csv import php script does not work.
Is there a way of writing this csv import php script in which it will import the data (assuming the fields are in correct place) without specifying the column names?