1 ¡
Flat ¡Files ¡vs. ¡DB ¡Files ¡
– So ¡far, ¡our ¡PHP ¡examples ¡have ¡used ¡regular ¡text ¡ files ¡
- O>en ¡called ¡FLAT ¡FILES ¡
– These ¡have ¡a ¡certain ¡advantage, ¡since ¡we ¡can ¡edit ¡ the ¡files ¡easily ¡and ¡can ¡read ¡them ¡without ¡any ¡ special ¡so>ware ¡ – However, ¡they ¡have ¡many ¡disadvantages ¡as ¡well ¡
- It ¡is ¡difficult ¡to ¡"update" ¡the ¡data ¡in ¡a ¡file ¡without ¡
rewriJng ¡the ¡enJre ¡file ¡
– How ¡to ¡change ¡data ¡in ¡the ¡middle ¡of ¡the ¡file? ¡