I am developing some on-line forms which connects to our AS400 data. In a Course Selection form, I have a list/menu called CRSNAME and a hyperlink called Change Course. I am trying to pass the value of the list/menu to anouther php page called change.php. Here is the code for the hyperlink I have been trying along with many others:
<div align="center"><a href="Change.php?CRSNAME=<?php echo $CRSNAME; ?>">Change Course </a></div></th>
I need to know the syntax for passing the value of the CRSNAME...<?php echo....WHAT?
BTW here is the list/menu:
<select name="CRSNAME" size="1" id="CRSNAME">
<?php
while(!$MSTCLS->EOF){
?>
<option value="<?php echo $MSTCLS->Fields('DCSKEY')?>"><?php echo $MSTCLS->Fields('DCSKEY')?></option>
<?php
$MSTCLS->MoveNext();
}
$MSTCLS->MoveFirst();
?>
</select>
Thanks in advance.