
You can import bulk data from csv/xml/excel file directly in database table using the bulk import function. You need to specify
the filename and table name only. Your file must have header as the column name of the table.
Please note xml file must have simple
$pdocrud = new PDOCrud(); echo "Records Imported: ". $pdocrud->bulkImport("upload/advertisement.csv", "advertisement"); echo $pdocrud->dbTable("advertisement")->render();