|
Posted by SOR on 07/06/05 04:10
<comp.lang.php , Tony Marston , tony@NOSPAM.demon.co.uk>
<dadlnb$t5j$1$830fa795@news.demon.co.uk>
<Tue, 5 Jul 2005 11:00:10 +0100>
> Writing is not the issue, reading is. If you have a text file containing
> 100,000 records how quickly can you read just one particular record?
> Database tables have keys, so it is very easy to read a record with a
> particular key value. Text files don't have keys, so you cannot go straight
> to a particular record. You have to read serially through the whole file
> until you happen to find the record you want.
>
Not always , As a newish user I done www.sparesorrepair.co.uk using
flatfiles and each advert is saved on its own and called/displayed by
the advert number .
(obviously not saying its the best way to do it)
[Back to original message]
|