I want to know how to make a live PHP page, i.e., it does not refresh/load when we submit details of a form.
Examples where it is used:
- Stack Overflow (while submitting post)
- Facebook (while updating status) On facebook, the status is published and the page is not reloaded.
I want to know which language I must learn/use to create such form pages.
Any help will be appreciated.
You can do this easy with Javascript/JQuery
Example:
It is loading the ‘reload.php’ file into the div id ‘loaddiv’ every 20000 ms -> 20 sec.
DIV:
And then edit the ‘reload.php’ file.
Good luck!