Subscribe
Tutorial search

PHP Tutorials


We hope that you will enjoy our PHP tutorials. Feel free to contact us if you would like to be a tutorial hero and contribute your own PHP tutorial to our site. Thank you !

Sort by:
PHP and MySQL
PHP and MySQL
Learn PHP with MySQL starting from database connection till updation and deletion operations.
Difficulty:
Creating and accessing MySQL data with PHP
Creating and accessing MySQL data with PHP
This tutorial will hopefully teach you some basics of how to access data with your PHP scripting to gather information with in a MySQL database. The first step you need to do is get a basic understanding of what MySQL is. If your site can handle or has access to a MySQL database you should try using the PHPmyadmin application to help you use and access your MySQL datases fast and easy.
Difficulty:
ImpAKT Basics Tutorial
ImpAKT Basics Tutorial
This document's goal is to present the basic tNG features. We'll create a simple site that will be used to manage a company's departments and employees. Users will be able to display the existing departments, to add a new department, to edit or to delete an existing one. The same will apply for the employees.
Difficulty:
Parsing XML With PHP
Parsing XML With PHP
This article shows how to write a simple PHP script that parses the RSS file, extracts the pertinent information, formats it, and serves it up as regular HTML. This script can also be added to any PHP file. Source code available for download.
Difficulty:
How to protect PDF files using PHP
How to protect PDF files using PHP
This tutorial explains how to safely hide away PDF files from public access using htaccess, but then having a PHP file run its own authorization to allow access to the file without the Network Password dialog box. The PDF file will be displayed in the browser (if the user has acrobat reader) or promoted to download the pdf file if the user doesn't have acrobat reader. This is perfect for when you want to restrict PDF files to authorized eyes only. This simple to use tutorial will have you up and running in a few minutes, one page of info with full source code, and working examples.
Difficulty:
Create Next and Previous Pages for Search Results
Create Next and Previous Pages for Search Results
This code covers the steps required to create Next and Previous links and pages for Search Results limited by a certain number of results per page.
Difficulty:
Printable Document Generation with PHP
Printable Document Generation with PHP
This article focuses on the document that can be generated using PHP namely Rich Text Format (RTF). Rich Text Format (RTF) is a file type used to transfer formatted text documents between applications, even those that run on different platforms, such as IBM and Macintosh. RTF is a file format that many word processing programs understand; it is often used when a document is created in one word processing program but is expected to be edited in another word processing program.
Difficulty:
Complete Members System
Complete Members System
This Article takes you step by step in creating a member system for your site. From designing mySQL tables, creating a registration script and logging them in with sessions and cookies.
Difficulty:
Using mod_rewrite with Apache and PHP
Using mod_rewrite with Apache and PHP
mod_rewrite is a popular Apache Module which gives a server administrator the ability to mask a web site's links. Though mod_rewrite has several abilities and can be used in several ways, the only way focused on by this tutorial is to create Search Engine Friendly links.
Difficulty:
Looping Statements in PHP
Looping Statements in PHP
In programming it is often required to repeat a block of code for a given number of times or until a certain condition is not true. For this, we use looping statements. PHP has two major looping statements (FOR and WHILE).
Difficulty:
Create a Unique Hits Counter Using PHP and MySQL
Create a Unique Hits Counter Using PHP and MySQL
Learn how to create a unique hits counter that saves data into a MySQL database.
Difficulty:
Parse html with preg_match_all
Parse html with preg_match_all
For the most of the PHP scripter which are using preg_match or preg_replace frequently is the function preg_match_all a smaller advantage, but for all others it's maybe hard to understand. The biggest difference between preg_match_all and the regular preg_match is that all matched values are stored inside a multi-dimensional array to store an unlimited number of matches.
Difficulty:
Create an Image gallery
Create an Image gallery
An advanced image gallery using flash remoting AMFPHP and GD library.
Difficulty:
Alternating row colors
Alternating row colors
Alternating row colors is a very good way to make big tables more ergonomic and esthetic. Script and explanation here. Also explains the modulus operator.
Difficulty:
Arrays and PHP: A Primer
Arrays and PHP: A Primer
For many years, arrays have been used to logically store and sequence data. They have also been the point of confusion for many developers. This article will talk about the structure of arrays and how you can create and manipulate arrays with the PHP scripting language.
Difficulty:
Total Tutorials in Category: 4426