09-10-2017, 04:40 PM
Sorry. The website rendered the html instead of showing it to you. I was missing a code tag....
Then at the top of your join form you still want
Then I would do your form input like this
Then at the top of your join form you still want
Code:
$ref = Input::get('refid');
Code:
$name = $db->query('SELECT username FROM users WHERE id = ?",array($ref))->first();
Code:
<input type="text" class="form-control" name="refid" id="ghome" value="<?=$name->username?>">