Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
Check the Support section of the corresponding product first. Chances are you will find your answer there;
Do not create new topics for already reported problems. Add your comments to the existing topics instead;
Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
Include the version number of the software you are using;
This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
If your code editor struggles to format PHP within a <script> tag, try separating the PHP from the JavaScript to improve readability. For example, assign the PHP output to a JavaScript variable before using it in your script. This can make the code easier to manage and might help your editor format it better.
When PHP code is embedded in JavaScript (inside a <script> tag), linters may not handle the mixed syntax well. This is because PHP and JavaScript have different rules and syntax, and many formatters don't process hybrid structures effectively.