•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 455,968 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,739 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 11222 | Replies: 2
![]() |
| |
•
•
Join Date: Aug 2004
Posts: 2
Reputation:
Rep Power: 0
Solved Threads: 0
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
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
•
•
Join Date: Nov 2003
Location: Toronto, Canada
Posts: 354
Reputation:
Rep Power: 6
Solved Threads: 5
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
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
•
•
Join Date: Feb 2002
Location: Long Island, NY
Posts: 1,134
Reputation:
Rep Power: 12
Solved Threads: 5
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?
_.:: my websites ::._
blog @ www.samaru.net * engi No Jutsu @ www.narutorp.net * portfolio @ shinylight.com
deviantART: inscissor
blog @ www.samaru.net * engi No Jutsu @ www.narutorp.net * portfolio @ shinylight.com
deviantART: inscissor
![]() |
•
•
•
•
•
•
•
•
DaniWeb PHP Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- dat,txt file and csv file???? (C++)
- problem opening CSV file (C++)
- CSV file (C)
- Need Help Reading a csv file created from MSExcel (C)
- Reading in a *.csv file and loading the data into an Array (Java)
- parsing csv file (PHP)
Other Threads in the PHP Forum
- Previous Thread: Where I have to put my...
- Next Thread: Invalid Email Characters?



Hybrid Mode