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
Get Avast Free Antivirus with 24/7 AI-powered online scam detection Icon
Get Avast Free Antivirus with 24/7 AI-powered online scam detection

Get protection for today’s online threats. Free.

Award-winning antivirus protection, as well as protection against online scams, dangerous Wi-Fi connections, hacked accounts, and ransomware. It includes Avast Assistant, your built-in AI partner, which gives you help with suspicious online messages, offers, and more.
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