Save a text file in an csv.file with ascii?

Reply

Join Date: Aug 2004
Posts: 2
Reputation: nyqvist is an unknown quantity at this point 
Solved Threads: 0
nyqvist nyqvist is offline Offline
Newbie Poster

Save a text file in an csv.file with ascii?

 
0
  #1
Aug 24th, 2004
Thank You for taking your time to read this.

Well, the subject kind of tells it all. I have built an webshop, but would like the order to be place in an text file insted of mysql. This text file has to be in an csv format in order to get parsed by an onther application, and it also has to be in ASCII format.

So is't anyone how has any code ex fot his?

Br
Mattias from Sweden
Reply With Quote Quick reply to this message  
Join Date: Nov 2003
Posts: 360
Reputation: Gary King will become famous soon enough Gary King will become famous soon enough 
Solved Threads: 5
Team Colleague
Gary King's Avatar
Gary King Gary King is offline Offline
PHP/vBulletin Guru

Re: Save a text file in an csv.file with ascii?

 
0
  #2
Aug 24th, 2004
Well CSV just means that you separate things using commas; but it'll be real hard to be able to read off data from certain rows and manipulate the data in the CSV.

Adding data is not a problem, but reading data from the CSV will be much harder I believe.

What I would suggest is to use MySQL, then use phpMyAdmin to output the table(s) in CSV format
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 1,135
Reputation: samaru is just really nice samaru is just really nice samaru is just really nice samaru is just really nice 
Solved Threads: 6
Team Colleague
samaru's Avatar
samaru samaru is offline Offline
a.k.a inscissor

Re: Save a text file in an csv.file with ascii?

 
0
  #3
Aug 28th, 2004
I agree with Gary. In all honesty, any time you're dealing with money, you want something secure. A text file is not secure. It's not fast. It's not cached. Can be corrupted easily. Has no relational support. May I ask why you're not going with a database server?
Check out my blog at http://www.shinylight.com for more stuff about web dev.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC