CodeIgniter Forums
parsing a hierarchy csv file - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: parsing a hierarchy csv file (/showthread.php?tid=45913)



parsing a hierarchy csv file - El Forum - 10-11-2011

[eluser]diasansley[/eluser]
having a problem importing a file having multiple hierarchy levels!! its a csv file the contents look something like this! just need a jump start! thanks
the file looks likes this


name1 subj1 abcd
efgh

subje2 test1
test2

the file has to first import name1 then subj1 then abcd,then efgh then move back to subj2 and so on!

Thanks