/ Published in: PHP

this script splits the csv file two times (1. on "new line", 2. on ";") and returns a two dem array in the last for loop.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php /* your CSV should look like this: data1;data2;data3; data1;data2124;data3; data1;data2564;data3; data1;data2321;data3; */ $a = 0; foreach ($fileArrN as $value){ $a++; } $output = null; $output .= $fileArrSemi[$i][1]."<br />\n"; } echo $output; ?>
Comments
