$sel=0; include('conf.php'); // query per news $sql1 = "SELECT * FROM contents WHERE id_tipo = '1' and lang ='".$_SESSION["LANG"]."' and stato='1' order by data_ins DESC limit 3"; $res1 = mysql_query($sql1); // query per referenze $sql2 = "SELECT * FROM contents WHERE id_tipo = '3' and lang ='".$_SESSION["LANG"]."' and stato='1' and evidenzia='1' order by ordine ASC limit 3"; $res2 = mysql_query($sql2); ?>