[eluser]maniac[/eluser]
I am trying to add a dropdown list in a form instead of using a text box for the information to be added, but it keeps coming up blank. Can anyone help me with what I am doing wrong?
My code on the view page -
<form action="http://localhost/aStage2CI/index.php/results/insertresult" method="POST">
<p class ="bold">Course ID:<br />
<select name="Select">
<?php foreach($result as $row):?>
<option value="<?echo $row->courseid?>">
<?echo $row->courseid?></option>
<?php endforeach;?>
</select></p> ..........</form>
The actual form worked well with just the text boxes.
Thanks