0

I have a form and the details gets updated after submitting it and the page refreshes after that automatically and the details of the form will be shown at the bottom of the form. That means all the data from the database gets loaded below the form.

Is there a way to not to refresh the page but to show all the data from the database table even the latest one?

  • 1
    Yes, it is possible. Since you have tagged this AJAX you seem to know that that is what you would use. This is not a place to ask for help with coding though we will try to assist if something is not working and you can't figure out why. – Steve Sep 24 '18 at 22:34
  • i dont know how to work with ajax. can you point me out to the right place though :) – Gouse Feroz Sep 24 '18 at 22:39
  • @GouseFeroz, google "ajax form submission" and go from there. There are plenty of good tutorials and also this goo.gl/FbDPLA stack overflow answer to steer you in the right direction. Consider asking further programming related questions in stack overflow (this is the webmaster.stackoverflow for webmaster questions). – Σπύρος Γούλας Sep 25 '18 at 7:03
  • google.com/… – Steve Sep 25 '18 at 23:11
1

From Steve's comment, I figured out that I can solve my problem using AJAX.

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.