Explorar o código

Update demo.php

Janson Leung %!s(int64=10) %!d(string=hai) anos
pai
achega
5b9b9df4ad
Modificáronse 1 ficheiros con 5 adicións e 5 borrados
  1. 5 5
      demo.php

+ 5 - 5
demo.php

@@ -3,21 +3,21 @@ require 'PHPExcelReader/PHPExcelReader.php';
 
 try{
 	$Reader = new PHPExcelReader('test.xls');
-	$total = $Reader->count();			// get the total rows of records
+	$total = $Reader->count();		// get the total rows of records
 	//$current = $Reader->current();	// get the current row data
 	
 	/*
-	$Reader->seek(4);					// skip to the 4th row 
-	$row = $Reader->current();			// get the 4th row data
+	$Reader->seek(4);			// skip to the 4th row 
+	$row = $Reader->current();		// get the 4th row data
 	*/
 	
 	/*
 	foreach($Reader as $key => $row){
-		$data[] = $row;					// loop obtain row data
+		$data[] = $row;			// loop obtain row data
 	}
 	*/
 	
 	var_dump($total);
 } catch (Exception $e) {
 	die($e->getMessage());
-}
+}