PHP Data Tables - Easy Paginate Sort And FilterPHP Data Tables - Easy Paginate Sort And Filter
Easily generate tables for your database data, with pagination, sorting, filtering and more.PHP Data Tables - Easy Paginate Sort And Filter
Easily generate tables for your database data, with pagination, sorting, filtering and more.2 Support questions or comments
Please login or create an account to post a question or comment.
-
Oct 31, 2021config.php
return [
'mysql_database' => 'ale',
'mysql_host' => 'localhost',
'mysql_username' => 'root',
'mysql_password' => 'root',
];
index.php
<?php
require_once 'libs/NeatDatatables/src/NDTAutoloader.php';
use ThowsenMediaNeatDatatablesNDTAutoloader;
NDTAutoloader::register(__DIR__ .'/libs/NeatDatatables/src';
?>
<?php
use ThowsenMediaNeatDatatablesDatatable;
$datatable = Datatable::make()
->columns([
'#' => 'id',
'port_baslik' => 'port_baslik'
])
->from('portfolyo'
->get();
?>
<?php echo $datatable->render(); ?>
-
Oct 31, 2021Hi, I made their settings but I can't see the data in SQL.
-
Nov 9, 2021thowsenmedia AuthorHi, sorry for the late reply.
I can't see anything wrong with the code there. Can you print the output of the page? (right-click, view source).
Information
Category | Scripts & Code / PHP Scripts / Database |
First release | 17 October 2021 |
Last update | 17 October 2021 |
Software version | PHP 7.0, PHP 7.1, PHP 7.2, PHP 7.3, PHP 7.4, PHP 8.0 |
Files included | .php, .css, Javascript .js |
Tags | php, html5, css, MySQL, Javascript, Database, pagination, sorting, filtering, tables, searching, datatable, table generator, database table generator, database table |