Hi friends,
I have following code for import csv file data into mysql, but it won't import the data in database, can any body pls help me for this ?
my code as follows
- <?php
- {
- $filename=$_POST['filename'];
- {
- $import="INSERT INTO data_status(Date,Campaign_name,Email_id,Mailing_platform,Email_status) values('$data[0]','$data[1]','$data[2]','$data[3]','$data[4]')";
- }
- print "Import done";
- }
- else
- {
- print "There is nothing to do, click here to go back home";
- }
- ?>
- Add new comment
- 12 views