1 && $Idi<6){$Idi--;}else{$Idi=1;} $q="SELECT B.Descripcion FROM Noticia A,Noticia_idioma B WHERE A.Codnot=B.Codnot and B.Codid=$Idi and A.Activo='Si' and A.Codnot=$Codnot order by A.Orden"; } //echo($q); $res=mysql_db_query ($db, $q); if (mysql_num_rows($res)>0) { $row = mysql_fetch_row ($res); $Texto=$row[0]; $Texto=stripslashes($Texto); echo $Texto; } ?>