My page has a mix of Javascript and php. Javascript is used to select a string from several choices. Then some php code needs to do something with this string.
I have seen some examples that seem to be talking about passing variables across different web pages. I'm just doing this all on one page and all I'm trying to pass is a string.
I guess another solution would be to use php to select the string, if that's possible?
part of the URLor as aPOST request, or in the worst case -cookies.<?php $example=$_POST['example_form_name'];. Otherwise you may need to describe your script in a little more detail.