how we can show data on same page using ajax in php..
i want to say that-
1- if i fill a registration form and when i hv click on submit button that time the data show on the same page of registration page.
thanks............
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
abhishek trivediPosted Feb 13, 2015, 2:24 AM
On submit use ajax to save data to database and then make another call to fetch the data from same table i.e. employee, and refresh your grid with newly added record.
in grid you can keep edit and delete button on click of edit button you can refill your registration form controls with data and keep submit button name as Update.
by this way you can keep everything on one page and achieve your functionality as well.
Do let me know if this helps.
Thanks.
saurabh singhPosted Feb 10, 2015, 12:06 AM
when i fill a form after that the information those i have fill in the form show on same page as registration page.
on same page i have create edit and delete button to edit and delete the data.
but these thing show on a single page when i will run the code. then the output show on same page or single page dont require another page using ajax with php.
Nitin ChoudharyPosted Feb 9, 2015, 7:29 AM
what do u want actually, u want to see data in kind of pop up windows or what actually u want??