开发者

creating custom pages with jquery php

开发者 https://www.devze.com 2022-12-13 07:44 出处:网络
i have 3 tabs at top of page开发者_JAVA百科 i.e home | profile | + now i want that user can create their own custom page while click the (+) icon/button...!! how can i do that with php ajaxOne way

i have 3 tabs at top of page开发者_JAVA百科 i.e

home | profile | +

now i want that user can create their own custom page while click the (+) icon/button...!! how can i do that with php ajax


One way may be like this:

1: When + link is clicked, you prompt the user for entering title of the page to be created.
2: User enters page name; request goes to a php script via ajax
3: PHP scripts creates a page in db with submitted title.
4: With ajax response; you redirect user to new created page and edit it.

There can be many solutions to that though.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号