heretic
12-16-2001, 08:40 PM
I'm trying to get the topics started where the posts would be, although it's not showing up, I assume I'm not putting the query in the right place.
this isn't my code, it's off another hack, but I figured it'd be the same;
// topics started hack
$startcount = $DB_site->query_first("SELECT COUNT(title) AS starts FROM thread WHERE postusername='$userinfo[username]' AND open!='10'");
$starts = $startcount[starts];
and the in postbit I put:
<smallfont>Topics: $starts</smallfont><br/>
this isn't my code, it's off another hack, but I figured it'd be the same;
// topics started hack
$startcount = $DB_site->query_first("SELECT COUNT(title) AS starts FROM thread WHERE postusername='$userinfo[username]' AND open!='10'");
$starts = $startcount[starts];
and the in postbit I put:
<smallfont>Topics: $starts</smallfont><br/>