| | |
Save a text file in an csv.file with ascii?
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Aug 2004
Posts: 2
Reputation:
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
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
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.
![]() |
Similar Threads
- how to read content of html page and save in text file (C#)
- having trouble parsing more than one html file into a csv file (Python)
- help me about save and not save text file (Visual Basic 4 / 5 / 6)
- dat,txt file and csv file???? (C++)
- Need Help Reading a csv file created from MSExcel (C)
Other Threads in the PHP Forum
- Previous Thread: Where I have to put my...
- Next Thread: Invalid Email Characters?
| Thread Tools | Search this Thread |
# 5.2.10 access action address alexa apache api array auto autoincrement broken cakephp checkbox class classes clean clients cms code cron curl database date dehasher destroy directory dissertation domain dropdown dynamic echo$_get[x]changingitintovariable... email encode error errorlog fairness fatalerror file folder form function functions google href htaccess html image include indentedsubcategory ip javascript joomla legislation limit link load local login masterthesis memberships menu multiple multipletables mysql mysqlquery newsletters oop open passwords paypal pdf persist php popup provider query radio random script search secure server sessions simple sockets source space spam sql system table tutorial upload url user variable voteup web youtube






