The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (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
Find id by username
#3
I should add, when it comes time to echo out this information, you don't have to do a database query because there is an auto-generated one for the entire user line in the db. So if you need to you can call back something like

echo $user->data()->vericode;
or
$vericode = $user->data()->vericode;
or if you are in the middle of html you can do a quick echo in php of
<?=$user->data()->vericode?>

The same thing would work for your random_number column.
  Reply


Messages In This Thread
Find id by username - by CromeX - 10-21-2016, 02:01 PM
Find id by username - by mudmin - 10-21-2016, 02:54 PM
Find id by username - by mudmin - 10-21-2016, 02:56 PM
Find id by username - by CromeX - 10-21-2016, 03:14 PM
Find id by username - by mudmin - 10-21-2016, 04:07 PM
Find id by username - by CromeX - 10-21-2016, 05:41 PM
Find id by username - by mudmin - 10-21-2016, 05:42 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)