select

mam jakis sentyment do tej funkcji zwracajacej htmlowego selecta

<?PHP

function selectTabs($selName, $tabs, $id, $cssLen=NULL)
{
  if ($css_len==NULL) $size = '150px';
  unset($sel);
  $select.='<select name="'.$selName.'" style="width:'.$cssLen.';" >';
  $select.="n";
  $select.='<option value="">'."</option>n";
  if ( count($tabs)>0)
  {
    foreach ($tablica as $key => $value) {
        $select.='<option ';
        if (trim($id) == trim($key)){ $select.=' selected ';}
          $select.='value="'.$key.'">'.$value."</option>n";
    }
    $select.='</select>';
    return $select;
  }
}
?>