Hiya every1, Im trying to get the value that i've got in JavaScript to find the client browser size, and i want to put that value into the PHP code for the height of the table im using.
How do I get the value from JS to PHP?
Thanks BIGmrC
You can put the value into a hidden text fields and submit it.
Javascript is client side, PHP is server side .. so you will have to pass the value back to the server .. possibly you can have the page refresh.
I find SEARCHING the forums for threads whose titles contain the words "PHP", "Javascript" and "variable" to be extraordinarily useful in answering questions like this.