Got something specific you'd like to learn? Click here to suggest a tutorial!

Learn PHP
Tag Archives | php

How to Loop Results Into an Array in PHP

This is one of those little tricks in PHP that can save you a ton of time. Reality is, when you’re dealing with MySQL results… you’ll almost always have to loop through an array of results to grab what you want and put THOSE results back into an array. If you don’t know how to [...]

Read full story · Comments { 0 }
Install a LAMP Web Server on Ubuntu

Install a LAMP Web Server on Ubuntu

Installing a web server using the Ubuntu operating system is not too difficult because most of the required packages don’t need a lot of configurations. In this tutorial we create a (power) user, we install Apache, PHP and MySQL, phpMyAdmin and several other services needed to run a powerful and secure web server. via web-development-blog.com [...]

Read full story · Comments { 0 }
Creating an HTML Select Box From a MySQL Results Array Using PHP

Creating an HTML Select Box From a MySQL Results Array Using PHP

This is a question I get quite a bit, so I figured I’d write a post on it: How do I create an HTML select box with options from data in my database? Here’s how: The Query First, let’s look at our query. Yours might look something like this: <?php $sql = "SELECT * FROM [...]

Read full story · Comments { 9 }
Sorting Multi-Dimensional Arrays in PHP

Sorting Multi-Dimensional Arrays in PHP

Every time I need to sort a multi-dimensional array in PHP, I have to look it up. It’s not quite as quick and easy to look up as most things, so I’m going to blog a quick example. via shiflett.org This is super handy! I’m the same way. I always used to end up looking [...]

Read full story · Comments { 0 }
PHP Tutorial – Arrays

PHP Tutorial – Arrays

If this is your first time seeing an array, then you may not quite understand the concept of an array. Imagine that you own a business and you want to store the names of all your employees in a PHP variable. How would you go about this? It wouldn’t make much sense to have to [...]

Read full story · Comments { 0 }

How to USE the Data You Collect With Your Forms

In this lesson, you’ll learn the basics of displaying data stored in a database… allowing you to actually use the data you collect with your forms… because that’s the point, right?

Read full story · Comments { 11 }

How to Build a PHP Form From Scratch With One Hand Tied Behind Your Back

In this video, you’ll discover how to build an PHP form that stores data into a MySQL database from scratch. You’ll learn the necessary fundamentals of using PHP with forms.

Read full story · Comments { 32 }

How Forms Are Much Simpler Than You Ever Could Imagine

In this video, you’ll discover how forms are much simpler that you’ve probably ever imagined. You’ll learn the behind the scenes “magic” that make forms work and discover what it is you’re really doing when you create a form.

Read full story · Comments { 6 }

Why You Need to Learn How to Build and Manage PHP Forms Now

In this lesson, we’ll cover why I say, “forms ARE the internet”… revealing why, as a web developer, one of the most important skills you’ll learn is how to build and manage PHP forms.

Read full story · Comments { 1 }
The Most Powerful Way to Build Your Website

The Most Powerful Way to Build Your Website

In this tutorial, I’m going to show you what I believe is the most powerful way to build your website. I’m going to show you a method of total site design that will allow you to get your site up and running quick, make it easy to build new websites fast, and make changing the [...]

Read full story · Comments { 9 }
How the Internet Works

How the Internet Works

I believe this is one of the most important videos I’ve ever created. I believe that because it sheds light on 3 very important factors for becoming a successful web developer: 1) knowing the technology behind the internet and what exactly is happening what a web pages is loaded into a web browser, 2) knowing [...]

Read full story · Comments { 3 }

How to Create an XML Data Feed File for Google Product Search Using PHP

You’ll learn how to create an xml file for Google Product Search using PHP. This technique could be applied to any database or product store that can be called using PHP.

Read full story · Comments { 11 }

How to Create a Basic Website Design Template Using PHP, CSS, and XHTML

Learn how to create a basic static page website design template using php, css, and xhtml. Using website templates like the one you’ll learn to make here helps cut down on the rewriting of code and saves you a ton of time. This is a basic template we’ll use to build more advanced website designs and templates.

Read full story · Comments { 7 }