Convert HTML to PDF using PHP code (HTML2FPDF Class library) In web development, you often need to create PDF (Portable Document Format) to view or download/ print a document.   Here is a simple class that will provide you a simple way to do create PDF.HTML2FPDF Class library consist of three classes namely PDF, HTML2FPDF… (24 comments)

PHP: Object Oriented Programming (OOP) php objects   A class is a ‘blueprint’ for an object, just like a function that you’d declare and use, a class merely describes a type of object. Before you can do useful logical work with it, you need to create an object (in pure OOP terms instance of a…

Difference between Abstract class and Interface PHP   An abstract class is a class that provides some functionality and leaves the remaining functionality for its child class to implement. The child class must provide the functionality not provided by the abstract class (parent) or else the child class also becomes abstract.   To define a…

A Quick view on difference between PHP4 and PHP5 PHP5 has improvements in design, security, and stability as compared to PHP4, there are so many features of OOP added in PHP5 to make it more powerful and useful. If you want more details just go to http://www.php.net and find changes in php.   Object Model/Passed…