
When you perform a PHP explode() on strings, there is a problem in the array items that are returned. Follow along as we look at the subtle glitch in this function, and how we will go about to fix it.

Your web designer has come up with a nice HTML form layout that she has worked on for a few days. In it, you see there are multiple buttons in the form that you need to handle. What do you do?

This article will discuss in detail how to setup a local Windows Apache, MySQL, and PHP (WAMP) development environment.

Making code ugly is no fun to read nor maintain. I seen quite a bit of web page scripting code in PHP the last few years. One example that I see over and over again that is just terrible, involves generating HTML markup on the fly based on boolean conditions. Here we look at two common methods and another that is a bit more readable.

Looking for a utility to resize your images? Here's a PHP class leveraging the GD extension to make your life easier.
Please make sure that you have the GD 2 library installed on your server. This is a PHP extension that will allow you to do image manipulation.
The code below handles manipulation of JPEG, GIF, and PNG image file types only.