Grow your CSS skills. Land your dream job.

accessing variables

  • # December 21, 2012 at 1:26 am

    How can i get access to the javascript variables in PHP?

    # December 21, 2012 at 2:01 am

    You can **not**.

    JavaScript runs on the user’s browser, long after PHP has stopped running on your server.

    You can use Ajax to submit values to a PHP script and return the results. However, the two languages cannot actually interact.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".