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
user profile fields
#2
Writing a search engine is a little different than a typical db query. I wrote one for you using regular php (not ajax) that searches the users table and does the proper binding etc to prevent sql injection attacks and stuff like that. If you install userspice and replace the stock index.php file with this
https://pastebin.com/RQx2stSf
You will see that I wrote a quick search engine that lets you search the first and last name columns of the users table and gives you the results. I hope it helps.
  Reply


Messages In This Thread
user profile fields - by tmith - 04-05-2019, 01:42 PM
RE: user profile fields - by mudmin - 04-05-2019, 04:09 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)