Delete Multiple Selected Records in DataTables – PHP

DataTables plugin is the easiest way to add pagination on the page with all the required features.

For adding delete control you can either add a delete button with each record or add checkboxes and a single delete button.

In this tutorial, I show how you add multiple checkboxes and delete selected records on a single click in DataTables using jQuery AJAX.

Delete Multiple Selected Records in DataTables - PHP

Read more

How to Set Different font-family in Dompdf

When generating a PDF with Dompdf then it ignores fonts that are not available in its internally – Helvetica, Times-Roman, Courier, Zapf-Dingbats, Symbol.

Require to load the fonts for use in PDF creation which is not existing in Dompdf internal fonts.

In this tutorial, I am creating a PDF of MySQL database table records and set its font-family using Dompdf.

How to Set Different font-family in Dompdf

Read more