| | |
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 |
apache api array auto beginner binary broken cache cakephp checkbox class cms code codingproblem cron curl customizableitems database date display dynamic echo email error file files filter folder form format forms forum function functions gc_maxlifetime global google headmethod host href htaccess html image include insert ip javascript joomla limit link login mail malfunctioning memmory memory menu mlm multiple mysql nodes oop parameter parsing paypal pdf php phpmysql popup query radio random recursion recursiveloop remote script search select server sessions sms snippet source space sql static survey syntax system table trouble tutorial up-to-date update upload url validator variable video web youtube






