PHP excel reader issue


include ‘db_connection.php’;
include ‘reader.php’;

if(isset($_POST[“Import”])){

echo $filename=$_FILES[“file”][“tmp_name”];

$file=”$filename”;

$sheet = (isset($_POST[‘sheet’])) ? $_POST[‘sheet’] : ”;

$connection=new Spreadsheet_Excel_Reader();

$connection->read($file);

$startrow=1;

$endrow=2;

for($i=$startrow;$i<$endrow;$i++){

$rrt1= $connection->sheets[$sheet][“cells”][1][1].””;

$rrt2=…

Read the entire article at the source link…

We're happy to share this resource that we found. The content displayed on this page is property of it's original author and/or their organization.

Leave a Reply