Not Solved [Error Message] Postnum for Group (error)
Not Solved
I’m trying to use what little knowledge I have to count postnum of a specific usergroup. As of now I’m running into an error and unsure why there seems to be two tables in the error message? Obviously something is wrong here but I can’t seem to figure it out. Any help is appreciated. Have not found any support threads similar to this topic.

$count = $db->fetch_field( $db->query( "SELECT COUNT(*) as numberofposts FROM ".TABLE_PREFIX."postnum WHERE `usergroup` = 4"), 'numberofposts' );

Attached Files Thumbnail(s)
> SELECT finger FROM hand WHERE id='3'

Forum Jump:

Users browsing this thread: 1 Guest(s)