I am in javascript full zero.
I have such a problem. refresh the page without reloading it.
For example, the page has Messages (0) and you need if you received a letter to change the value of 0 for example 2. or the variant to add the result of the form to the database.
In general, the main task is to pull out or cram into the database without reloading the page.
As I understand it, you can insert by downloading the second file of type router.php. But I don’t have a clue how to pull out and change the info.
The method of inserting and pulling methods from the database via php.