What is the best way to store data on the server, that can be updated using PHP?
In my case I am storing a number.
Should I use:
- MySQL table
- .TXT document
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you don’t need to search, update and order data, you can use a .txt file…. but if you need to query data, i highly recommend a database (MySQL for example).
If you store just one number, you can do it using a .txt file.