Hi and thanks for your reply.
I have now included the following code :
$user_id = $_GET['user_id'];
$result = mysql_query("SELECT * FROM cms_users WHERE user_id = '$user_id'");
$result = mysql_result($result, 0);
if ($result == 0) {
echo "That user does not exist!";
exit();
}
else{
//Collect data about the specified user
}
It does actually work, however I get an error message above the echo'd line
Warning: mysql_result(): Unable to jump to row 0 on MySQL result index 4