I have fetched a csv report which I now have in an string.
eg ->
$report="date,pageview,clicks
2012-07-01,229316,16739
2012-07-02,295238,19582
2012-07-03,278505,17805
2012-07-04,209455,15146
2012-07-05,250756,17206";
Now I want to save this data in mysql database, but not getting any optimized solution because my real $report is very large in size.
fgetcsv()