Some text databse help please

He's not using a database so select statements won't work.


How many items are going to be in your files. Because there is no indexing it may go very slow with increased traffic and a large catalog.

anyways.. if you are firmilar with java/c++ then you should be firmilar with arrays which work pretty much the same way in PHP. http://www.php.net/array for more info anyways .
Code:
$file = file('filename.txt');

that reads the contents of the filename.txt file into the array named $file.

Each index of the array contains a line from the file.
 
Back
Top