Changeset 1872042
- Timestamp:
- 05/10/2018 11:31:15 AM (8 years ago)
- File:
-
- 1 edited
-
interactive-excel-tables/trunk/excel-tables.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
interactive-excel-tables/trunk/excel-tables.php
r1850382 r1872042 3 3 Plugin Name: Excel tables 4 4 Description: This plugin allows you to import excel file into wordpress. 5 Version: 1. 15 Version: 1.2 6 6 Author: WebArea | Vera Nedvyzhenko 7 7 */ … … 247 247 248 248 if ($xlsx = SimpleXLSX::parse( $data_url, true) ) { 249 echo'<table>';249 $table .= '<table>'; 250 250 $ext_count = 1; 251 251 foreach( $xlsx->rows() as $r ) { … … 256 256 } 257 257 258 echo'<tr><'.$excall.'>'.implode('</'.$excall.'><'.$excall.'>', $r ).'</'.$excall.'></tr>';258 $table .= '<tr><'.$excall.'>'.implode('</'.$excall.'><'.$excall.'>', $r ).'</'.$excall.'></tr>'; 259 259 $ext_count++; 260 260 } 261 echo'</table>';261 $table .= '</table>'; 262 262 } else { 263 echoSimpleXLSX::parse_error();263 $table .= SimpleXLSX::parse_error(); 264 264 } 265 265 }
Note: See TracChangeset
for help on using the changeset viewer.