Skip to main content


How to Pass Optional Paramater to a Function in PHP

This tutorial tackles on how to pass optional parameter to a function in PHP. When we create a function and set a parameter to pass to this function, the function expects the parameter to be passed and will throw an error if none given. For instance that you wanted to pass an optional parameter to a function, hope you'll find this tutorial helpful.

CRUD Operation using PHP/MySQLi with DataTable and PDF Generator using TCPDF

This source code will teach how to CRUD(create, read, update, delete) using the two MySQLi Extensions which are OOP and Procedural. Also included, the datatable library which is an extension that uses jquery to beautify and add functionality to HTML Table. Lastly, included is a PDF Generator using TCPDF library.