PHPExcel to insert database using Pg_query
问题 I'm using PHP Excel to insert data CSV into database. But i confused to apply it. Here's Mycode: <?php session_start(); include 'connect.php'; include 'PHPExcel/Classes/PHPExcel/IOFactory.php'; $input=$_POST['times']; $rev=$_POST['rev']; $chan=$_POST['channel']; $uploadid='UP'.$_POST['number']; $fcid = 'FC'.$_POST['number']; $schid = 'SCH'.$_POST['number']; $file = $_POST['filename']; $inputFileName = 'D:/ForecastCapacity/'.$file; echo($input.'/'.$rev.'/'.$chan.'/'.$uploadid.'/'.$file); //