$rssp = $db->query_first("SELECT COUNT(*) AS total FROM thread WHERE postusername='rss_poster'"); $rssp = $rssp[total];