did some hacking myself and came up with this: <? $dbhost = "*****"; $dbuser = "*****"; $dbpass = "*****"; $database = "******"; $db = mysql_connect($dbhost,$dbuser,$dbpass); mysql_select_db($database, $db) or die("Unable to select database!"); $result2 = mysql_query("select post_id from phpbb_posts...