TXT File or Database?
- by Ruth Rettigo
Hey folks!
What should I use in this case (Apache + PHP)? Database or just a TXT file? My priority #1 is speed.
Operations
Adding new items
Reading items
Max. 1 000 records
Thank you.
Database (MySQL)
+----------+-----+
| Name | Age |
+----------+-----+
| Joshua | 32 |
| Thomas | 21 |
| James | 34 |
| Daniel | 12 |
+----------+-----+
TXT file
Joshua 32
Thomas 21
James 34
Daniel 12