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.

  • four
  • one
    > I'm in Javascript full zero. With this phrase you discourage you from helping. if you are full 0, then why do you even bother with the task? And if you want to learn, so first learn the basics, and then ask the question essentially, with your code that does not work - zb '18
  • the fact is that I will now deal with php, and at once porridge will work out with two languages. I understand the syntax simply i. insert the script to correct it I can. But I cannot write it completely, and I do not ask me to write a full script. I need to know where to dig. If I figured out the script itself, I can't figure out how to dynamically pull information from one file and paste it into another without rebooting. (As I understand it, it can be implemented, the task above) PS! took for the convenience of work (Home. Hobby) Thanks in advance. - jcmax

1 answer 1

Here on this site there are detailed lessons on JavaScript - Ajax.

Good luck in learning the material :)

  • ok, downloaded my eyes - jcmax