Do "SHOW COLUMNS FROM table_name" and compare with the init_db.sql file. Make sure the prefix is set correctly in the connect.php file. Otherwise, in admin/index.php add:
PHP Code:
if (!$result) {
echo "The error: ".mysql_error()."<br />\n";
}
After the following line:
PHP Code:
$result = mysql_fetch_array(mysql_query("SELECT count(*) as num FROM ".PHPDIG_DB_PREFIX."$table"),MYSQL_ASSOC);
And see what it prints onscreen.