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.
精彩评论