i am trying to use it to populate a selection box using:
<select name="select" style="height: 18px; width: 130px; color: #000000; font-size: 9pt;" onChange="location.href = 'directoryresults1.php?category=<?=$REQUEST['category']?>&subcat=<?=$REQUEST['subcat']?>&country='+this.options[this.selectedIndex].value;">
<!--option value="Any" selected>Results will appear here</option-->
<option>Please Select</option>
<? $dbaccess->narrowcountry_options($_REQUEST['country']); ?>
</select>
it doesn't seem to want to though.
the only things I have changed in the original function are:
category='$category' and subcat='$subcat'
thanks for any help
mark