Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Full Content of Most Recent Post on Front-Page?

ok cool, thank you. it’s doing something so that’s good :)

this is what i’m using:

<?php
$latestpost = $bbdb->get_row("
SELECT *
FROM $bbdb->posts
WHERE post_status = 0
LIMIT 1
");
?>

<?php echo $latestpost->post_text; ?>

it’s displaying the first post from forum 3 for some reason, not the most recent post. i’ve posted a few new posts since then in other forums and it never changes on the front page, it still shows that first post from that forum 3. any idea how come?

(thanks for your help on this)

Skip to toolbar