Best way to store serverside data?

白昼怎懂夜的黑 提交于 2019-12-11 05:30:42

问题


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

回答1:


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.



来源:https://stackoverflow.com/questions/5628583/best-way-to-store-serverside-data

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!