11-23-2016, 12:19 AM
So I'm guessing you're doing something like
Now you have to run a query on that.
Now you can echo out
to get the first name etc.
Code:
$uid = Input::get('id');
Now you have to run a query on that.
Code:
$theUserQ = $db->query("SELECT * FROM users WHERE id = ?",array($uid));
Code:
$theUser = $theUserQ->first();
Now you can echo out
Code:
$theUser->fname