[nycphp-talk] Passing JAVASCRIPT variables to PHP

Daniel Convissor danielc at
Sun Mar 30 18:07:58 EDT 2008

Hi Paul:

On Sun, Mar 30, 2008 at 09:18:10PM +0100, PaulCheung wrote:

> The problem is I cannot transfer the Javascript variable needed in to PHP.

JavaScript is client side.  PHP is server side.  This has been discussed 
on this list a couple times, and on the web too many times to count.

You either need to submit the JS data to the server as part of a form or 
via an AJAX request.


 T H E   A N A L Y S I S   A N D   S O L U T I O N S   C O M P A N Y
            data intensive web and database programming
 4015 7th Ave #4, Brooklyn NY 11232  v: 718-854-0335 f: 718-854-0409

More information about the talk mailing list