I've created the following code but for some reason it is echoing Array instead of the result:
<?php
include("../config.php");
include("functions.php");
$count = "SELECT `monthly_slots` FROM users WHERE `username` = 'Bill'";
$count = mysql_query($count);
$data = mysql_fetch_assoc($count);
echo "$data";
?>
Any ideas?
I have no idea why it is outputting Array because there should only be one result from that query.