Hi,
Is there any way I can use the sort() function within the following code to arrange a list of names into alphabetical order? I've tried putting it in several places but have got nowhere. Thanks
<td align="left"><strong>Supplier
</strong></td>
<td><select name="cardbox[supplier_id]">
<option value='0'>--
</option><?php $i=0;
foreach($product_supplier_lookup as $k=>$v)
{ ?>
<option value="<?php echo $k?>">
<?php
echo htmlentities($v['supplier_name']); ?></option>
<? } ?>
</select></td>