when i input the mysql code on the command line, i get an accurate result but when i try to use the same code in php i get a result of "Resource id#9" -- Does anybody know what this means
$query = mysql_query("SELECT COUNT(*) FROM pepinfo");
echo 'Number of people in database: '.$query.' ';
if confused on what i'm saying the variable $query prints out "Resource id # 9" instead of the number of people in my database.