Assigning PHP variables to Javascript

Posted by Sam Ciaramilaro on March Wed, 2015

Note:

When assigning PHP variables to Javascript, the assignment statement cannot be in an included/imported script. It must be contained in the main page that is requested by the client.