I WILL HELP YOU BECOME A
REAL PHP DEVELOPER
Enter your email below to get my FREE 7-STEPS GUIDE and my EXCLUSIVE ADVICE!
Hey, I’m Alex.
I have been working as a full-time PHP developer since the early 2000’s.
My mission is to help you become a real PHP programmer and to share with you all I have learned.
LAST BLOG POSTS
What are the 5 worst PHP programming habits that I've seen during my work? And what is the easiest way to break them for good? Let's find out...
This is the definitive, step-by-step guide to learn how to use PHP with MySQL, including working examples with MySQLi and PDO.
How to check how much system memory your PHP script is using with the memory_get_usage() and memory_get_peak_usage() functions.
ALEX’S PHP TIPS
When you use strict comparison, two values are never considered equal if their types differ. Are there any cases where strict comparison is always required?
How to implement getter and setter functions (a standard oop paradigm) in PHP classes (with a short, commented example).
A quick and simple example on how to use PDO (the recommended database extension) to establish a database connection and send an SQL query.