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
Update Database from Javascript Function
#2
There are a lot of ways to do it, but essentially what I do is write a jquery function at the bottom of my page that makes an ajax call. I create a "parser" php file where it does all the db work.

Here is a basic explanation of one of my jq ajax calls and the parser file.

https://pastebin.com/qtQEpWuZ
  Reply


Messages In This Thread
Update Database from Javascript Function - by ptrh - 02-12-2018, 04:05 PM
Update Database from Javascript Function - by mudmin - 02-12-2018, 04:28 PM
Update Database from Javascript Function - by ptrh - 02-12-2018, 04:51 PM
Update Database from Javascript Function - by ptrh - 03-01-2018, 07:29 PM
Update Database from Javascript Function - by ptrh - 03-06-2018, 08:12 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)