Hello. Such a problem: learned the initial course javascript and jquery. Now with writing a script, exporting images, I ran into a problem. The fact is that my project is on WordPress and I need to have a unique “static” variable in each of my posts. That is, for example, there is a record 1 and in the code for this record there is a unique variable that never changes, as well for records 2,3,4. Maybe for this you need to save the variable via php to the database, and then output it through JavaScript and work with it? Tell me, I do not know. Thank.
Just ask, can anyone tell me how to "bind" two languages of Java Script and PHP?