Hi there. 🙂
I know this is reletively simply but I cannot seem to get it right.
I need to find out how many rows in the column 'clan_name' equal 'Expendable Decoys'.
$sql = " SELECT COUNT(*) FROM guild_db
WHERE clan_name = 'Expendable Decoys' ";
if( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not query count for info page', '', __LINE__, __FILE__, $sql);
}
If that is correct I then need to figure out how to output that value into a seperate file which holds the HTML part of the code.
'U_CLAN_TOTAL_MEMBERS' => [what goes here?],
Any help would be appriciated. 😉
Thanks!. 🙂