Don't listen to these losers. Yes they are right when they say that SQL databases are more powerful, but they are a real pain in the butt to learn. SQL is a really crap language, sure you can get your data in almost any form you want but it is difficult to debug when something goes wrong, which it almost always does first time.
Flat file databases can be better than SQL databases as they are completely system independant. You don't need to worry about what database server the people using your product have installed. It will work first time.
So if you want to learn flat file databases I suggest you do some research on dbm files. It a really easy way of storying data in a file using hash arrays. I assume you know what hash arrays are. (You know the ones that look like this: $array['index1'] = 'blah'😉
All you need to do is put on entry into one element in the array and serperate each field with a tab, making sure you remove all the tabs from the inputed data.
PHP makes this even easier by supplying you with a bunch of dbm functions. Have a look here:
http://www.php.net/manual/html/ref.dbm.html
Good luck.