My echo returns Array instead of value.
$postscount = mysql_query('select count(authorid) from topics where authorid="'.$author.'" ');
$posts = mysql_fetch_row($postscount);
Here's echo:
{
echo "Posts: ".$posts." ";
}
I tried with this:
{
echo '<pre>';
print_r($posts);
echo '</pre>';
}
with print_r it retuns this:
Array ( [0] => 73 )
and with var_dump()
array(1) { [0]=> string(2) "73" }