Quote:
Originally posted by usbnuts
I think you just have to change one line to grab any thread titles forum catergoies you want.
// create sql statement
$sql = "SELECT threadid, title, forumid, replycount, postusername, postuserid, lastposter, dateline, iconid FROM thread WHERE forumid = "1" AND forumid = "2" AND forumid = "3" ORDER BY dateline DESC LIMIT $newsitems";
|
That's not working for me either. I'm getting no news displayed, but the "search for news" and "view all news" as well as the footer are all displayed.
If a delete both AND statements, the code works fine. Any way around this?