So it's like I have a selectbox, with while loop as option as I want to bring out the options from database, is it possible to click on the option and link?
The while loop is like this
while ($row = mysqli_fetch_assoc($result0))
{
$option .= '<option value="'.$row['id'].'">'.$row['Font_Family'].'</option>';
}
This is the select box
<select id='font' style="width:100px;" onchange="autosubmit();">
<option value ="0">Select</option>
But on clicking the option I want to link it to
font.php?id={id that is being pointed to}
How can I do this?