$query = mysql_query('SELECT author, COUNT(author) FROM graphic GROUP BY author') or die(mysql_error());
$query = mysql_query('SELECT COUNT(author) FROM graphic GROUP BY author') or die(mysql_error());
$aString = is_string((string)array()) ? true : false; // true :D
$q = mysql_query("SELECT count(author) FROM `graphic` WHERE `author` = 'username goes here'");$row = mysql_fetch_assoc($q);echo 'Username posted' . $row['count(author)'] . ' banners';
Jump To Top of Thread