Hello!
I want the user to be able to select an option from a list menu then submit the chosen variable to the next page. Below is my code and I am sure this is easy but I just cant get it to work????? any ideas please! Thanks
<select name="CallID" size="1" id="CallID" title="<?php echo $row_OpenCallList['CallID']; ?>">
<?php
do {
?>
<option value="<?php echo $row_OpenCallList['CallID']?>"><?php echo $row_OpenCallList['CallID']?></option>
<?php
} while ($row_OpenCallList = mysql_fetch_assoc($OpenCallList));
$rows = mysql_num_rows($OpenCallList);
if($rows > 0) {
mysql_data_seek($OpenCallList, 0);
$row_OpenCallList = mysql_fetch_assoc($OpenCallList);
}
?>
</select>
<input type="submit" name="Submit" value="Submit" onClick="">
I want the user to be able to select an option from a list menu then submit the chosen variable to the next page. Below is my code and I am sure this is easy but I just cant get it to work????? any ideas please! Thanks
<select name="CallID" size="1" id="CallID" title="<?php echo $row_OpenCallList['CallID']; ?>">
<?php
do {
?>
<option value="<?php echo $row_OpenCallList['CallID']?>"><?php echo $row_OpenCallList['CallID']?></option>
<?php
} while ($row_OpenCallList = mysql_fetch_assoc($OpenCallList));
$rows = mysql_num_rows($OpenCallList);
if($rows > 0) {
mysql_data_seek($OpenCallList, 0);
$row_OpenCallList = mysql_fetch_assoc($OpenCallList);
}
?>
</select>
<input type="submit" name="Submit" value="Submit" onClick="">