开发者

creating custom pages with jquery php

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜