Passing JavaScript to a PHP script

Simple code that will help you to pass javascript to a php variable.
read more »