This script uses a javascript table called simpledatatables.
window.addEventListener('DOMContentLoaded', event => {
// Simple-DataTables
// https://github.com/fiduswriter/Simple-DataTables/wiki

const datatablesSimple = document.getElementById('datatablesSimple');
if (datatablesSimple) {
new simpleDatatables.DataTable(datatablesSimple);
}
});



Example usage for creating a dynamic table with delete and edit hyperlinks. Please note, that the data is in the format expected from mysqli. I.E. array with number indexes and each element is an array with text indexes. These text indexes are used for the column headings.

JSTableEx::QuickWrite($aTemplates, 'id', Link::$rootWeb.'admin/site/templates/edit', Link::$rootWeb.'admin/site/templates/delete', 50);

Project Activity

See All Activity >

Follow PHP HTML Table

PHP HTML Table Web Site

Other Useful Business Software
Your top-rated shield against malware and online scams | Avast Free Antivirus Icon
Your top-rated shield against malware and online scams | Avast Free Antivirus

Browse and email in peace, supported by clever AI

Our antivirus software scans for security and performance issues and helps you to fix them instantly. It also protects you in real time by analyzing unknown files before they reach your desktop PC or laptop — all for free.
Free Download
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of PHP HTML Table!

Additional Project Details

Registered

2022-06-20