<?php require ("csv2sql.class.php"); $csv = new csv2sql("test.csv",";","test","test.sql"); $csv->Export(); $my_array=$csv->Export(false); foreach ($my_array as $sql) echo $sql."<br/>"; ?>