Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Last Topic Script?

edited January 2007 in Vanilla 1.0 Help
Hi folks, I don't have much experians with PHP, so can u help me for a script which show last 10 Topics.


  • I am at work, so I can't give you much other than pseudo code, but when I get home...if anyone hasn't helped you out I will get back to it.

    $query = mysql_query("SELECT theCols FROM theTable LIMIT 10 DESC"); while($row = mysql_fetch_assoc($query)) { // echo the discussion title inside an anchor. // echo who posted it. }
This discussion has been closed.