看板 Ajax 關於我們 聯絡資訊
小弟第一次接觸 ajax ,最近試著做一個平台,剛好需要用到這門技術。我的問題是,每 當使用者填完表單時,會將資料送到 MYSQL, 再產生一個新網頁。 謝謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 27.246.4.62 ※ 文章網址: https://www.ptt.cc/bbs/Ajax/M.1464225563.A.85D.html
mrbigmouth: 這跟ajax無關 請研究後端技術 比如php之類的 05/26 09:51
ccvs: 產生一個新網頁 好特別的說法.. 05/26 10:58
Neisseria: 聽起來很像 view 在做的事情 05/26 12:06
nacoyow: 這個不用Ajax也可以完成.. 05/26 15:26
korurudo3so: 我有在 php版 問過類似的問題 他們說叫我來 ajax版 05/26 18:58
korurudo3so: 問 05/26 18:58
bcawosxy: 你描述的好複雜... 05/26 23:10
korurudo3so: hmm… 不然用英文解說好了 05/26 23:30
korurudo3so: I mean whenever users complete forms, then the pr 05/26 23:30
korurudo3so: ogram will generate a new webpage showing the det 05/26 23:30
korurudo3so: ail information of users stored in database. 05/26 23:30
korurudo3so: . 05/26 23:30
korurudo3so: For example, users of social media post their mes 05/26 23:30
korurudo3so: sages or pictures on timeline. Meanwhile, the web 05/26 23:30
korurudo3so: sites(facebook,twitter, my space.etc) will produc 05/26 23:30
korurudo3so: e (create)their own pages and URL. 05/26 23:30
korurudo3so: 我已經盡可能描述了。 05/26 23:30
bcawosxy: 用不到ajax 用PHP+Mysql就可以達成了 05/26 23:42
bcawosxy: 前端表單輸入資料=>存入DB=>跳轉到新頁列出剛剛輸入的資 05/26 23:42
bcawosxy: 料 05/26 23:42
sa0124: 那頁面不跳轉 直接在底下顯示用戶新增資料應該才用到ajax? 05/27 04:31
sa0124: 我也沒接觸過 不知觀念是否正確 05/27 04:31
ian90911: 你的例子是指fb塗鴉牆內嵌到別的地方嗎 05/27 09:16
korurudo3so: 沒錯! 每一個動態擁有自己的頁面 05/27 09:43
korurudo3so: 已解決謝謝大家 05/27 17:42