This is probably pretty simple but I am new to this.
All I want to do is put some of the current links I have working inside a dropdown menu.
Here are the working links I would like to display in a dropdown:
<p>
<?=anchor('tasks/AddTask', 'Add a Task')?>
<?=anchor('tasks', 'All Tasks')?>
<?=anchor('tasks/mjh', 'Mike')?>
<?=anchor('tasks/ejm', 'Ed')?>
<?=anchor('tasks/fjb', 'Jan')?>
<?=anchor('tasks/ctk', 'Colin')?>
<?=anchor('tasks/cgb', 'Cindy')?>
</p>
The following does not seem to work:
<form>
<p>
Change View:
<select>
<option value="tasks">All Tasks</option>
<option value="tasks/mjh">Mike</option>
<option value="tasks/ejm">Ed</option>
</select>
<input type="submit" value="Go">
</p>
</form>
Or:
<form>
<p>
Change View:
<select>
<option><?=anchor('tasks', 'All Tasks')?></option>
<option><?=anchor('tasks/mjh', 'Mike')?></option>
<option><?=anchor('tasks/ejm', 'Ed')?></option>
</select>
<input type="submit" value="Go">
</p>
</form>
Thank you.