'.stripslashes($row["titulo"]).'
'; $sql1 = "SELECT * FROM noticias WHERE idNoticia=".$row["IdNoticia"].";"; $result1=mysql_query($sql1,$conn); $tempCont=0; $row1 = mysql_fetch_array($result1); echo '
'.stripslashes($row1["contenido"]).'
'; echo '
'; }else{ echo '
'.stripslashes($row["titulo"]).'
'; $sql2 = "SELECT * FROM noticias WHERE idNoticia=".$row["IdNoticia"].";"; $result2=mysql_query($sql2,$conn); $tempCont=0; $row2 = mysql_fetch_array($result2); echo '
'.stripslashes($row2["contenido"]).'

'; } $tempCont++; } ?>