× 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
last query
How can I print last query or check database query error?
I use the DB.php file and print query in the function but I didn't get any error so I need to print the query.
Is there any way to print last query?
Hi! I'm so sorry this question got lost in the shuffle during our spam attack. You can just do dump($db); and you will get the last query submitted to the db.
You can also do dump($db->errorInfo()); to get any error messages like "hey that column doesn't exist;

Forum Jump:

Users browsing this thread: 1 Guest(s)