Quantcast
Channel: PHPExcel Forum Rss Feed
Viewing all articles
Browse latest Browse all 2707

New Post: How can I insert the data from excel to MYSQL database using the $value returned from statement $value = $objWorksheet->getCellByColumnAndRow($col, $row)->getValue();

$
0
0
How can I insert the data from excel to MYSQL database using the $value returned from statement $value = $objWorksheet->getCellByColumnAndRow($col, $row)->getValue();

I am able to get the value of entire row in $value. But I need to insert the value into database table. When I try to echo $value[index] eg $value[0], it gives some crap results. But simply printing $value prints the entire row.

Please help me out by giving me an insert query for inserting data into database using $value variable.

Viewing all articles
Browse latest Browse all 2707

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>