Use .txt file as database
Posted on 2002-07-02
I want to use a .txt file as a database (only for reading and selecting records). Every record in the .txt file is on a single line and looks like this:
"A 00010",Description of the article,"50"
The first field is a unique ID, the second a textfield and the third a number (quantity).
Can I read and select records from this .txt file and use it like a database (if so, how?) or do I have to read the lines into a MySQL db first (if so, how?) ??