Hot PHP How-Tos

How To: Create modules with PHP for your website

Many sites do not use any fancy Content Managment System (CMS) to generate their pages, they are just just good ol' static HTML content. A site for your grandmothers pie baking business probably only has a few pages, perhaps a homepage, about page, and contact page. Each of these pages has different main content, but much of it stays exactly the same, like the header, navigation, and footer. Think of these sections as "modules" that you can easily use PHP to insert into the page. This way, ma...

How To: Use PHP to create a session class to keep track of users

In this clip, you'll learn how to create a session class with PHP to track users on your website. Whether you're new to the PHP: Hypertext Preprocessor scripting language or are a seasoned web developer merely looking to improve your chops, you're sure to find benefit in this free video programming lesson. For more information, including detailed, step-by-step instructions, take a look.

How To: Create a friend adding & management app with PHP, MySQL an jQuery

In this clip, you'll learn how to implement a simple friend management application with PHP, MySQL and jQuery. Whether you're new to the PHP: Hypertext Preprocessor scripting language or are a seasoned web developer merely looking to improve your chops, you're sure to find benefit in this free video programming lesson. For more information, including detailed, step-by-step instructions, take a look

How To: Turn a Microsoft Windows PC into a web server with XAMPP

In this clip, you'll learn how to convert a Microsoft Windows desktop or laptop computer into a personal web server (or webserver) with XAMPP, an Apache distribution that compes preloaded with PHP and MySQL. Whether you're new to the PHP: Hypertext Preprocessor scripting language or are a seasoned web developer merely looking to improve your chops, you're sure to find benefit in this free video programming lesson. For more information, including detailed, step-by-step instructions, take a look

How To: Make calculations with the Pythagorean theorem when coding in PHP

In this clip, you'll learn how to employ the Pythagorean theorem with PHP to make triangle calculations. Whether you're new to the PHP: Hypertext Preprocessor scripting language or are a seasoned web developer merely looking to improve your chops, you're sure to find benefit in this free video programming lesson. For more information, including detailed, step-by-step instructions, take a look.

How To: Protect Your PHP Website from SQL Injection Hacks

As a web developer, I often read articles about hackers (from the lowly to the knowledgeable) infiltrating websites via the dreaded 'SQL Injection' method and completely taking control, changing, gaining access, or destroying the owner's data. As a fellow web developer, I'm sure you want to know how to protect against it. Well, here it is! In this article, you will find out what SQL Injection is, what you can do to protect against it, and additional recommendations that are easy to do and onl...

How To: Create a simple relational database with PHP and MySQL

In this clip, you'll learn how to generate a simple relational database with PHP and MySQL. Whether you're new to the PHP: Hypertext Preprocessor scripting language or are a seasoned web developer merely looking to improve your chops, you're sure to find benefit in this free video programming lesson. For more information, including detailed, step-by-step instructions, take a look.

How To: Create active-page button links with CSS and PHP

In this clip, you'll learn how to use PHP and CSS to generate active-page button links for your website. Whether you're new to CSS and the PHP: Hypertext Preprocessor scripting language or are a seasoned web developer merely looking to improve your chops, you're sure to find benefit in this free video programming lesson. For more information, including detailed, step-by-step instructions, take a look.

How To: Create a simple "Hello, World" web app with PHP

In this clip, you'll learn how to create that basics of basics—the "Hello, World" app—when coding in PHP. You'll also learn about concatenation and commenting. Whether you're new to the PHP: Hypertext Preprocessor scripting language or are a seasoned web developer merely looking to improve your chops, you're sure to find benefit in this free video programming lesson. For more information, including detailed, step-by-step instructions, take a look.

How To: Create a simple form letter when programming in PHP

In this clip, you'll learn how to employ variables and arrays to generate a form letter when coding in PHP. Whether you're new to the PHP: Hypertext Preprocessor scripting language or are a seasoned web developer merely looking to improve your chops, you're sure to find benefit in this free video programming lesson. For more information, including detailed, step-by-step instructions, take a look.

How To: Create a new database when using SQLite 3

In this clip, we learn how to create a new database when using SQLite 3. Whether you're entirely new to the SQLite embedded relational database management system or are a seasoned developer merely looking to brush up on a few of the basics, you're sure to find much to take away. For more information, take a look!

How To: Display the results of a MySQL query over multiple pages

In this clip, you'll learn how to use pagination—that is, to view the results of a MySQL query over multiple pages. Whether you're new to the PHP: Hypertext Preprocessor scripting language or are a seasoned web developer merely looking to improve your chops, you're sure to find benefit in this free video programming lesson. For more information, including detailed, step-by-step instructions, take a look

How To: Use strings, curly brackets and concatenation when programming in PHP

In this clip, you'll learn how to make use of strings, curly brackets and concatenation when coding in PHP. Whether you're new to the PHP: Hypertext Preprocessor scripting language or are a seasoned web developer merely looking to improve your chops, you're sure to find benefit in this free video programming lesson. For more information, including detailed, step-by-step instructions, take a look.

How To: Make simple mathematical calculations with PHP

In this clip, you'll learn how to work with basic arithmetic when coding in PHP. Whether you're new to the PHP: Hypertext Preprocessor scripting language or are a seasoned web developer merely looking to improve your chops, you're sure to find benefit in this free video programming lesson. For more information, including detailed, step-by-step instructions, take a look.

How To: Connect to a database & add data in PHP & MYSQL

MySQL is a database for serving data on the web. This video teaches viewers how to connect to a database and add data in PHP & MySQL. PHPMyAdmin is an interface that allows you to interact with MySQL more easily. Use the form in the program to create a database; choose the name for your database and select 'create'. Next you can create tables within your database, also using the forms provided. Within the tables you can set your variables; PHPMyAdmin has fields that allow you to choose the ty...

How To: Use a singleton pattern in PHP programming

This PHP newbie video with teach you what a Singleton Pattern is and how to use it in your PHP programming. PHP OOP Singleton is great for a database connection when you only want one consistent connection in your application. So, to prevent wasting space accidentally by calling it twice in different areas, this is good way to protect it. Singleton is very popular and used often in Database Connections.

How To: Use the Facade design pattern in your PHP programming

This tutorial from JREAMdesign reviews the Facade design pattern and how it specifically relates to PHP programming. In the facade pattern, a complex subsystem and calling class are hidden from each other through the use of a Facade class. This video guide walks through the construction of a Facade and demonstrates its use.

How To: Use SimpleXML to load XML into PHP

Learn to utilize SimpleXML in this PHP tutorial to load and access XML from within PHP. This video shows how to load an XML file into a PHP array variable and get values from within that array. This informative video from JREAMdesign shows you step by step.

How To: Use PHP array programming to make a user agent sniff script

OK, so visitors are coming to your website and they're even leaving comments! Now, with some simple PHP array programming you can find out what browser and OS they're using. This tutorial shows you how to create a simple and efficient user agent sniff script to get the information you want. Sniff, sniff. Is that Chrome running on OS X I smell?

How To: Incorporate Google Maps into your website

You can set up a dynamically driven Google Map widget that can display any sort of information - such as displaying a user's location based on what they have entered into their profile. This is a useful and interactive feature for any PHP/MySQL based website.

How To: Convert MySQL timestamps to the "ago" format

In this clip, you'll learn how to adjust timestamps from a MySQL database to the ago format (e.g., minutes ago, hours ago or days ago). Whether you're new to the PHP: Hypertext Preprocessor scripting language or are a seasoned web developer merely looking to improve your chops, you're sure to find benefit in this free video programming lesson. For more information, including detailed, step-by-step instructions, take a look

How To: Connect to a MySQL database with PHP

In this clip, you'll learn how to connect to a MySQL database with PHP. Whether you're new to the PHP: Hypertext Preprocessor scripting language or are a seasoned web developer merely looking to improve your chops, you're sure to find benefit in this free video programming lesson. For more information, including detailed, step-by-step instructions, take a look

How To: Create a simple calculator with PHP

In this clip, you'll learn how to create a simple calculator with PHP. Whether you're new to the PHP: Hypertext Preprocessor scripting language or are a seasoned web developer merely looking to improve your chops, you're sure to find benefit in this free video programming lesson. For more information, including detailed, step-by-step instructions, take a look.

How To: Write a simple "Hello, World" application in PHP with the Eclipse IDE

In this clip, you'll learn how to write a "Hello, World" app in PHP with Eclipse. Whether you're new to the PHP: Hypertext Preprocessor scripting language or are a seasoned web developer merely looking to improve your chops, you're sure to find benefit in this free video programming lesson. For more information, including detailed, step-by-step instructions, take a look.

How To: Use the Switch Case and Random methods when coding in PHP

In this clip, you'll learn how to the Switch Case method and the Random method when coding in PHP. Whether you're new to the PHP: Hypertext Preprocessor scripting language or are a seasoned web developer merely looking to improve your chops, you're sure to find benefit in this free video programming lesson. For more information, including detailed, step-by-step instructions, take a look.

How To: Build a 3D calculator with Flash Builder and PHP

In this clip, you'll learn how to create a simple 3D calculator with Flash Builder. Whether you're new to the PHP: Hypertext Preprocessor scripting language or are a seasoned web developer merely looking to improve your chops, you're sure to find benefit in this free video programming lesson. For more information, including detailed, step-by-step instructions, take a look.

How To: Use CakePHP to create and develop websites

CakePHP is the Ruby on Rails of the PHP world, an open-source web application framework that allows users to create really cool websites and software without spending money on expensive programs. This extensive video series will teach you everything you need to know about working with CakePHP and should make your website a lot more interesting.

How To: Use PHP to design and make cool websites

PHP is a scripting language that since 1995 has allowed web developers all over the world to create more dynamic websites. This video series will show you how to use it from start to finish, covering the very basics and very advanced techniques. If you want to move you web design skills beyond XHTML, watch this video.

How To: Edit & delete data in PHP & MYSQL

This video describes how to edit and delete data in PHP and MYSQL. The video is about twenty minutes long and is perfect for anyone learning how to manage databases and websites with PHP or MYSQL. This video is part of a series on learning PHP and MYSQL. However, this video is not intended for anyone who is technically challenged or not a coder and should only be watched after having a good grasp on PHP syntax.

Prev Page