开发者

On how to use phpexcel reader

How can I get the values from a cell using php reader..开发者_开发知识库 All of those tutorials in the internet just generates errors in my code and I can't find a reliable site to help me.

Example I have cell Name and under it are names... How can I get the names and store them in an array? Any help would be appreciated, Thanks!


require_once '../Classes/PHPExcel/IOFactory.php';

$objPHPExcel = PHPExcel_IOFactory::load("yourfile.xlsx");


$value = $objPHPExcel->getActiveSheet()->getCell('A1')->getValue();

echo 'The Value is: '.$value;
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜