Diving into PHP: Day 16
Continuing on with our OOP review, we’ll begin to build a real-world database abstraction class. We’ll review the __construct magic method, as well as the mysqli object.

Continuing on with our OOP review, we’ll begin to build a real-world database abstraction class. We’ll review the __construct magic method, as well as the mysqli object.
Continuing with our OOP review, today, we’ll create a very simple “calculator” class that should give you a better idea of how abstracting your code to its own class can save you a great deal of time. We’ll also take a look at the helpful “__construct” method, as well as creating variables. Enjoy!
Getting started with HTML, CSS, PHP or jQuery can seem like a daunting task for many beginners. Some people think you need to go to school for these subjects but as many of you already know, there is an abundance of free resources to get you well on your way to becoming a pro in any of these subjects. Here are some killer tutorials and screencast series which cover the most popular topics (HTML, CSS, PHP and jQuery).
It’s been a while, but we’re back with Day 14 of our “Diving into PHP” series. Today, we’ll begin researching OOP techniques. We’ll start with a basic overview of classes and functions, and will then move into some more real-world and complicated examples in future tutorials.
Hey everyone. Just a note that Day 13 of this series was posted on the nettuts+ blog. I’m hoping to attract more subscribers, so that we can ultimately put even more effort into bringing you great tutorials. Feel free to ask questions on either site. Watch it now!
We’ll take a short break from working with MySQL in order to analyze how to work with the file system. Today, you’ll learn how to use the “file” function, as well as “fopen”, “fgets”, and “fputs”.
PDF is the de-facto electronic document standard because of its security and integrity. Making a PDF isn’t limited to high-end desktop software though; they can be created quite easily on the fly from your web application. Add in a sprinkle of free code, and you got one great recipe for PDF-ala-mode! In this tutorial I’ll show you with PHP and FPDF.
Continuing on from Day 10, we’ll review SQL insert statements that will allow us to add new rows to our MySql database with PHP. Additionally, we’ll take a look at using foreach statements to loop through an array.
I promised you last week that we’d begin working with databases in Day 10. I’ll show you how easy it is to get up and running with MySql. We’ll also review the correct way to retrieve information from our new database.
Starting with day 9, I’m going to begin teaching you some practical uses of PHP. Today, I’ll show you how to detect whether or not a user has visited your site previously. This operation can then be used to add a “welcome” box to your site – that typically encourages the user to sign up, via the RSS feed. It’s easier than you’d think!