Re: Full Content of Most Recent Post on Front-Page?
$forum_one_topics
is not an array which is why it’s failing (although I’m surprised it’s not).
Do you actually want the 1 latest topic from forum 1? Then use $bbdb->get_row()
instead of get_results()
and stop treating it as an array (basically, just take out the foreach
part since you don’t have several, and replace $topic
with $forum_one_topics
).
If you want all the topics from forum one, then take out the LIMIT 0, 1 bit from the query which as I understand it would give you only one result.
Also, you have some malformed HTML just under span gray
.