chrisiboy Posted October 29, 2012 Share Posted October 29, 2012 Hi Guys, I have a csv file that looks like below : IMSI ICCID MSISDN FAX ISDN56 ISDN64 APN 901112112542731 898709912412543000 870772332028 870782546182 870782548300 870782551182 c2c.bgan.inmarsat.com 901112112542731 898709912412543000 870772332028 870782546182 870782548300 870782551182 c2c.bgan.inmarsat.com Basically I want it to look as follow : It must be saved then as a normal text ======= Package 1 ========== IMSI 901112112542731 ICCID 898709912412542731 MSISDN 870772332028 FAX 870782546182 ISDN56 870782548300 ISDN64 870782551182 APN c2c.bgan.inmarsat.com ======= Package 2 ========== IMSI 901112112542731 ICCID 898709912412542731 MSISDN 870772332028 FAX 870782546182 ISDN56 870782548300 ISDN64 870782551182 APN c2c.bgan.inmarsat.com ========= END OF PACKAGES ========== = Total Processed: 2 = Date Processed: 2012-10-29 ==================================== Quote Link to comment https://forums.phpfreaks.com/topic/270031-import-into-text-file-and-change-the-grouping/ Share on other sites More sharing options...
Christian F. Posted October 29, 2012 Share Posted October 29, 2012 This should help. PS: This forum is for helping you with code you've written, not writing or planning code for you. For the former you have the Freelance section, and for the latter the "Application design" section. Quote Link to comment https://forums.phpfreaks.com/topic/270031-import-into-text-file-and-change-the-grouping/#findComment-1388423 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.