php = serverside
thus php is processed before the page is sent to the client.
document.location.replace('samepage.php?js_var=' + var);
General discussions related to php
1 post • Page 1 of 1