i have a simple code to echo out my users in a table.
<?php
include "./global.php";
$sql = "SELECT * FROM `users`";
$res = mysql_query($sql) or die(mysql_error());
while($row = mysql_fetch_assoc($res)){
echo "Users: " . $row . "<br> \n";
}
if(mysql_num_rows($res) == 0){
echo "There are no users to look at!\n";
}
?>
but when it comes up, it comes up with the right amount of users but not there names
it comes up with
User:Array
User:Array
and so on. i wrote this myself but i only just started about two weeks ago.