I have a dropdown list with customer names from database. I want these values to be a link with my 'href' attribute. How can I do it?
<select class="feedback-input" id="customer_selecter" name="customerName">
<option >Select customer</option>
<?php foreach ($customers as $row): ?>
<a href="<?php echo base_url() . "index.php/edit/show_customer_id/" . $row->customerID; ?>">
<?php echo '<option value="'.$row->customerID.'">'.$row->customerName.'</option>'; ?></a>
<?php endforeach; ?>
</select>