I wanna be able to get everything from a signed in user. Like, username, email, msn, and alto more with a function like:\[code\]echo getUserInfo('email');\[/code\]gets the content of "email". but it does not work, see below:My function:\[code\]function getUserInfo($field) {global $userID; $sql = mysql_query("select * from users where id = $userID"); mysql_result($sql, 0, "$field"); return $field;}\[/code\]Does not work, it outputs whatever i put in the function when i call it