Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- R. Rajesh Jeba Anbiah
March 20, 2005, 4:55 am
rate this thread
Q: I don't have database support, but I want to handle data.
Q: I have a PHP/MySQL script, but my production server doesn't support
A: Always it is better to use wrapper functions around database APIs;
so that you may easily switch from one database to another.
There are number of 3rd party text file database APIs available.
Q: What is PHP's native solution for handling data in a file?
2. serialize() with unserialize()
3. var_export() with include()
(2)&(3) will be somewhat harder to implement on a system that already
uses database, even with wrapper.
@todo Grammar, clarity, brevity. Someone may help