I have this code:
<?php echo CHtml::dropDownList('category','',array(
''=>'Please Select...',
'Phones'=>'Phones',
'Laptops'=>'Laptops',
'Desktops'=>'Desktops',
))
?>
which generates this dropdown menu:
Please select…
Phones
Laptops
Desktops
How can i add a different url link to each one of those items ?
Thanks in advance.