MFA Szemináriumok

'; while ($row = mysql_fetch_assoc($result)) { $result2 = mysql_query("select title from belso_node_revisions where nid=".$row['nid'], $link); if (!$result2) { die(mysql_error()); } while ($row2 = mysql_fetch_assoc($result2)) { echo '
  • '.$row2['title'].''; } mysql_free_result($result2); } mysql_free_result($result); echo ''; // ------------------------------------------------------------ // ------------------------------------------------------------ $result = mysql_query("select * from belso_forum where tid=3 order by nid desc limit 5", $link); if (!$result) { die(mysql_error()); } while ($row = mysql_fetch_assoc($result)) { $result2 = mysql_query("select title,body from belso_node_revisions where nid=".$row['nid'], $link); if (!$result2) { die(mysql_error()); } while ($row2 = mysql_fetch_assoc($result2)) { echo '

    '.$row2['title'].'

    '; echo '

    '.$row2['body'].'

    '; } mysql_free_result($result2); } mysql_free_result($result); // ------------------------------------------------------------ mysql_close($link); ?>