I want to use multiple queries to count multiple values and display those values in a table.
$resultnieuws = mysql_query("select gamer_int, count(gamer_int) as gamer_count_nieuws FROM berichten WHERE gamer_int LIKE 'Kenny' AND soort LIKE 'nieuws'");
$resultvideo = mysql_query("select gamer_int, count(gamer_int) as gamer_count_video FROM berichten WHERE gamer_int LIKE 'Kenny' AND soort LIKE 'video'");
echo $resultnieuws['gamer_count_nieuws'];
echo $resultvideo['gamer_count_video'];
The echo above gives me no result. What am i doing wrong?