Can we autoformat the CSV file through PHP header settings

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
geosathish
Forum Newbie
Posts: 1
Joined: Tue May 25, 2004 2:24 pm
Location: India
Contact:

Can we autoformat the CSV file through PHP header settings

Post by geosathish »

Hi Guys,

When i am autogenerate a CSV (comma seperated value) file ..is there any possibility to fix autoformat option of columns through PHP ...???

Pls let me know...

Sathish Kumar.R
India
User avatar
AVATAr
Forum Regular
Posts: 524
Joined: Tue Jul 16, 2002 4:19 pm
Location: Uruguay -- Montevideo
Contact:

Post by AVATAr »

.mmm you mean to process a csv file and output a formated page like a table...

yep its posible.. you can read it to an array (http://www.php.net/file).. and then output it (http://www.php.net/foreach).
Post Reply