Bald Bouncer
11-15-2001, 08:34 AM
// Find out how many threads this user has started
$startcount = $DB_site->query_first("SELECT COUNT(title) AS starts FROM thread WHERE postusername='$post[username]' AND open!='10'");
$starts = $startcount[starts];
// end find threads started
Right I want the above hack to count from 2 forums only, not the entire board....But whenever I add the forumid into it, I get a table not found...Im really at a loss to get this to work, can anyone help? :confused:
$startcount = $DB_site->query_first("SELECT COUNT(title) AS starts FROM thread WHERE postusername='$post[username]' AND open!='10'");
$starts = $startcount[starts];
// end find threads started
Right I want the above hack to count from 2 forums only, not the entire board....But whenever I add the forumid into it, I get a table not found...Im really at a loss to get this to work, can anyone help? :confused: