作者korurudo3so (Mic Wong)
看板Ajax
标题[问题] 自动产生网页
时间Thu May 26 09:19:21 2016
小弟第一次接触 ajax ,最近试着做一个平台,刚好需要用到这门技术。我的问题是,每
当使用者填完表单时,会将资料送到 MYSQL, 再产生一个新网页。
谢谢
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 27.246.4.62
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/Ajax/M.1464225563.A.85D.html
1F:推 mrbigmouth: 这跟ajax无关 请研究後端技术 比如php之类的 05/26 09:51
2F:→ ccvs: 产生一个新网页 好特别的说法.. 05/26 10:58
3F:→ Neisseria: 听起来很像 view 在做的事情 05/26 12:06
4F:→ nacoyow: 这个不用Ajax也可以完成.. 05/26 15:26
5F:→ korurudo3so: 我有在 php版 问过类似的问题 他们说叫我来 ajax版 05/26 18:58
6F:→ korurudo3so: 问 05/26 18:58
7F:推 bcawosxy: 你描述的好复杂... 05/26 23:10
8F:→ korurudo3so: hmm… 不然用英文解说好了 05/26 23:30
9F:→ korurudo3so: I mean whenever users complete forms, then the pr 05/26 23:30
10F:→ korurudo3so: ogram will generate a new webpage showing the det 05/26 23:30
11F:→ korurudo3so: ail information of users stored in database. 05/26 23:30
12F:→ korurudo3so: . 05/26 23:30
13F:→ korurudo3so: For example, users of social media post their mes 05/26 23:30
14F:→ korurudo3so: sages or pictures on timeline. Meanwhile, the web 05/26 23:30
15F:→ korurudo3so: sites(facebook,twitter, my space.etc) will produc 05/26 23:30
16F:→ korurudo3so: e (create)their own pages and URL. 05/26 23:30
17F:→ korurudo3so: 我已经尽可能描述了。 05/26 23:30
18F:推 bcawosxy: 用不到ajax 用PHP+Mysql就可以达成了 05/26 23:42
19F:→ bcawosxy: 前端表单输入资料=>存入DB=>跳转到新页列出刚刚输入的资 05/26 23:42
20F:→ bcawosxy: 料 05/26 23:42
21F:推 sa0124: 那页面不跳转 直接在底下显示用户新增资料应该才用到ajax? 05/27 04:31
22F:→ sa0124: 我也没接触过 不知观念是否正确 05/27 04:31
23F:推 ian90911: 你的例子是指fb涂鸦墙内嵌到别的地方吗 05/27 09:16
24F:→ korurudo3so: 没错! 每一个动态拥有自己的页面 05/27 09:43
25F:→ korurudo3so: 已解决谢谢大家 05/27 17:42