New to Object-Oriented PHP?
Learn the basics in just 4 hours with my beginner’s guide.
Subscribe and get PHP OOP Kickstart for free.
By subscribing you agree to receive my emails as described in the privacy policy.
Hi, I’m Alex.
I’m a PHP enthusiast since the early 2000s, and full-time PHP developer since 2007.
4k+ people are already improving their PHP skills with my weekly tips. Will you join us?

Tutorials
How to Generate a Secure Password with PHP
A PHP method to generate a random and secure password with letters, digits and special characters. Complete working PHP code.
How to Connect to Multiple MySQL Servers with PHP
Learn how to connect to multiple MySQL servers in the same PHP script, using both the MySQLi and PDO extensions.
9 PHP Array Mistakes That Developers Make
Arrays are handy, but there are a few things you need to pay attention to. Here are 9 common mistakes that developers do with PHP arrays.