Thread Starter
oscare
(@oscare)
So, the ID is coming from some <table id=”example”> element?
Thread Starter
oscare
(@oscare)
I have a plugin that does this:
It has a query like $query = ‘SELECT * FROM users’
That query gives me the results like:
$result = $wpdb->get_results($query, ARRAY_A);
With $results I build a table.
Now, I want to have that table to become a DataTables table.
Where can I apply the shortcode?
If the shortcode does not work, then how can I instanciate your plugin?
Thread Starter
oscare
(@oscare)
Thank you for the quick response.
Can use this plugin with a table that is generated from a MySQL query?
If so, where do I place the code?