MyBB Community Forums

Full Version: Database Methods, Help Please
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
This is the code I have
$query = $db->simple_select("users", "username", "uid='1'");

$settings = $db->fetch_array($query);

print_r($settings);

Now it is displaying in an array. I just need this code to simply print just the username of uid 1, How could I do this? Thank you.