1) { require "intest.inc"; $sql_lab="select id_label, ".$f_language.", en, ordine from eql_label where id_form=6 order by ordine"; if (!$res_lab=mysql_query($sql_lab,$conn)) { print mysql_error(); } else { while ($row_lab=mysql_fetch_array($res_lab)) { $i=$row_lab["ordine"]; if ($row_lab[$f_language]=="") {$lab_lang[$i]=$row_lab["en"];} else {$lab_lang[$i]=$row_lab[$f_language];} } } ?>