The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
User refer url
#6
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

Code:
$ref = Input::get('refid');
Code:
$name = $db->query('SELECT username FROM users WHERE id = ?",array($ref))->first();
Then I would do your form input like this

Code:
<input type="text" class="form-control" name="refid" id="ghome" value="<?=$name->username?>">
  Reply


Messages In This Thread
User refer url - by kingnath - 09-08-2017, 11:09 PM
User refer url - by mudmin - 09-09-2017, 12:24 PM
User refer url - by kingnath - 09-10-2017, 10:03 AM
User refer url - by mudmin - 09-10-2017, 12:16 PM
User refer url - by kingnath - 09-10-2017, 03:35 PM
User refer url - by mudmin - 09-10-2017, 04:40 PM
User refer url - by kingnath - 09-10-2017, 06:41 PM
User refer url - by mudmin - 09-10-2017, 08:22 PM
User refer url - by kingnath - 09-10-2017, 11:12 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)