php - Convert file to array and explode with comma -


i convert rpt file array. file divided commas. of course that's easy part. second thing need convert multidimensional array, easy got stuck in it. need make each line of file next row.
i'm looking in head don't know how solve it.
hope you'll me!

enter image description here

enter image description here

$contents = file($path); foreach($contents &$row){   $row = explode(",",$row); } 

file() reads file array, 1 line 1 array element.


Comments

Popular posts from this blog

Python Pandas join aggregated tables -

java - Static nested class instance -

java - How to access payload from REST 404 response in Camel cxfrs? -