ok so im trying to get a javascript variable into a php script, this would be an example,
You could use the following Javascript which will link to somepage.php with the variable in the Url
This is the contents of somepage.php which recieves the variable and echoes it