Okay, I've run those queries on a copy of my vBulletin database...and it gave me this PHP code back:
PHP Code:
<?php
$sql = 'SELECT title, threadid, replycount';
$sql .= 'FROM thread';
$sql .= 'ORDER BY replycount DESC ';
$sql .= 'LIMIT 10 ';
?>
I tried to put that on my PHP page just to see, and it didnt work. How do I make it connect to my database, or is there anything else I'm missing?
Thanks.