By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,303 Members | 1,260 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,303 IT Pros & Developers. It's quick & easy.

how to convert .txt to .csv

rishidadhich
P: 9
hi all,

i am trying to convert .txt format to .csc or .tsv format using PHP,
can anyone has any clue how to convert this..

thanx in advance.
Feb 21 '07 #1
Share this Question
Share on Google+
1 Reply


Motoma
Expert 2.5K+
P: 3,235
hi all,

i am trying to convert .txt format to .csc or .tsv format using PHP,
can anyone has any clue how to convert this..

thanx in advance.
Load the text into an array, then use the implode() function with the tab character '\t'
Check out PHP.net for more details on implode.
Feb 21 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.