num_rows == 1){ $project = $res->fetch_assoc(); $project['user'] = userObj($project['user']); return $project; } } return false; } ?>