how can I send the data from a dropdown form with onchange function?
Just like www.abc.com/index.php?version=(the value I suppose to send)
I can only use onChange to submit the data, but it is not I want.
<form action="gp_data.php?gp_name=<?php echo $_GET['gp_name'] ?>&version=<?php echo $_POST['version'] ?>" method="POST">
<select name="version" onChange="this.form.submit()">
<option>Vers</option>
<?php while($subjectData = mysql_fetch_array($version)){ ?>
<option value="<?php echo $subjectData['version'];?>">
<?php echo $subjectData['version'];?>
</option>
<?php }?>
</select>
</form>