Home  >  Article  >  Backend Development  >  网页数据保留方法 - PHP开发

网页数据保留方法 - PHP开发

WBOY
WBOYOriginal
2016-06-13 12:43:45975browse

网页数据保存方法 -- PHP开发
小弟正在做一个网站,使用PHP开发;

分为3个页面,每个页面都会让用户填写一些内容;

需要在第3个页面的时候建立数据库保存用户的设置,那么如何在第3页的时候取得 1,2个页面的数据;

需要考虑在第3三步还未建立数据库时,
用户又返回到前面1.2页面再次修改,这种情况下需要展示用户刚填写的一些数据,不能让用户返回后就什么都没有了,又得重新填写;

如果用户多的情况下如何处理好呢?(假设有1万用户同时使用)


目前我想到是在1、2页面用户设置的后就建立数据库,在第3个页面在读出来处理,但是这样感觉比较奇怪。

第一次做网站,求大神指点。

PHP 网站开发 数据库
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn