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
$variable inside file_get_contents
#11
You're not asking your database to give you the results back.

Try
Code:
$usersQ = $db->query("SELECT * FROM users");
Code:
$users = $usersQ->results();
  Reply
#12
Thanks for all your help! I've been reading up on the WHERE clause but since I can't really figure out the sessions I can't get it to work properly.

Is it possible to do it kind of like this? :

Code:
"SELECT CustomColumn FROM users WHERE ??? = '".$_SESSION["????"]."'";

Thank you!
  Reply
#13
Solved, thank you!
  Reply
#14
Awesome! Glad it's working. Sorry I didn't have any knowledge of how to accomplish that when it comes to the session.
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)