Subscribe
Tutorial search

Program For Multiple Inheritance - PHP tutorial


To implement multiple inheritance in php you can use "Traits". Trait is similar to an abstract class which cannot be instained on its own and it is intented to reduce some limitations of single inhereitance and it enables developer to reuse set of several independent classes living in various class hierarchies.
Category: PHP > Basics - Difficulty:


More cool PHP tutorials:



Access a MySQL Database Using PDO
Access a MySQL Database Using PDO
This tutorial will show you how to access a mysql database using the PHP Data Objects interface, also known simply as PDO. One big advantage of using PDO versus other methods is the use of prepared statements which offers much better security than the mysql or mysqli libraries. Also PDO can connect to several different database systems by specifying another driver. It is almost as easy as switching the driver to change from one database system to another (except for DB specific SQL syntax).
Difficulty:
 Variables in PHP
Variables in PHP
Variables are probably one of the most commonly used code constructs you’ll come across while programming in PHP
Difficulty:
Making a PHP & MySQL File Download Counter
Making a PHP & MySQL File Download Counter
We are making a simple, yet robust, PHP & MySQL file download counter, which will track the number of downloads on certain files on your server.
Difficulty:
Mail on 404
Mail on 404
A snippet of PHP code which will send you an e-mail every time a document is requested that is no longer there, ie when a 404 error comes up. Comes with instructions and an explanation of how the code works.
Difficulty:
How to Store Array Values in a Database Using PHP
How to Store Array Values in a Database Using PHP
Programming article for PHP developers needing to store array values in a database.
Difficulty: