Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82273

Use $db in external page

$
0
0

Link to test case:
Debugger code (debug.datatables.net):
Error messages shown:
Description of problem:

I am trying to create the first pages with datables.

Like any site, I need a login, and would like to create a page for importing data from an external JSON.

Since database access has already been defined in my datatables, and includes a class that handles different types of databases.... I would like to use this class for my login and import function (Database.php).

Functions as:
"$mysqli->prepare("SELECT id, username, password, salt FROM members WHERE email = ? LIMIT 1")) "

How do I use this datatables package class for external applications from datatables (login and import)?

Could you, kindly, give me a small example?


Viewing all articles
Browse latest Browse all 82273

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>