assigned to a php variable' $choice' (to be used later in a sql query),
but I am not sure how to go about doing this.
Code:
Code: Select all
echo "
<script TYPE=\"text/javascript\">
function func(choice){
";
// $choice = choice; INCORRECT !!!
echo "
}
</script>
";Thanks for all the help you can give me.
Burrito: Use PHP tags when posting code in the forum.