Ok, I changed my code to using global before the variable name as below:
<form method=get action="search.php" name=SearchForm >
<table >
<TR>
<td>
<p><select name="Country" size="1" onChange="countryads(this)">
<option>WORLD-WIDE</option>
<option>AFGHANISTAN</option>
<option>ALBANIA</option>
<option>ALGERIA</option>
<option>ZAMBIA</option>
<option>ZIMBABWE</option>
</select> </p>
<script = "javascript">
function countryads(selectedC)
{
global $countryvar = selectedC.options[selectedC.selectedIndex].text;
<?
require_once('index1.php');
?>
}
</script>
</td>
and I changed the file I call to index1.php, a new file I set up for test purposes, which has just one statement: echo $countryvar;
and nothing happened, doesn't work!
Thanks for your help guys.