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 Lessons Part 1: Introduction to PHP and Variables
PHP Lessons Part 1: Introduction to PHP and Variables
In this tutorial, beginners can get to know the basics of php and all about variables
Difficulty:
PHP Lessons Part 4: Arrays
PHP Lessons Part 4: Arrays
Array comes in two flavors, indexed and associative. This tutorial will explain the ins and outs of arrays
Difficulty:
PHP Lessons Part 2: Operators
PHP Lessons Part 2: Operators
In this part 2 of php tutorial, we will introduce the php operators, like assignment and comparison operator. Take a dip to know more.
Difficulty:
All about foreach loops
All about foreach loops
PHP tutorial about foreach loops. Looking at looping through arrays with PHP getting the values and keys. Using foreach with objects in PHP5
Difficulty:
Easy Templating in PHP
Easy Templating in PHP
How to make a Templating system in php easily, and how you can expand it to more advanced uses.
Difficulty:
Google Weather API
Google Weather API
Every web designer has at one point or another been asked, "How can I get weather on my site?" The old answer was to have a giant ugly weather channel gadget. Something that looked very nasty and you couldn't un-brand it no matter what. Some used an iframe to display external data and have it appear to be on their site. Lastly you could always just have a link that says 'click here for weather'. My goal was to get weather data from an external source and be able to customize how it looks. Fortunately now there are some great resources out there. I'm going with one that is my favorite, something extremely easy to use and customize - Google's Weather API.
Difficulty:
Is it possible to repair MySql Databases using PHP?
Is it possible to repair MySql Databases using PHP?
Why yes, yes it is. Here, we attempt to devise a method of storing the structure of a MySql database and itís individual tables in PHP.
Difficulty:
Getting data from a site
Getting data from a site
Sometimes you want to read data in a script from another site. But if that site doesnít have an rss feed, what then? This tutorial will explain all about it.
Difficulty:
An Introduction to Object-Oriented Programming
An Introduction to Object-Oriented Programming
An in-depth introduction to the basic and advanced features of PHP, including Object-Oriented Programming, Advanced Classes and Static Classes ~ with example code.
Difficulty:
Getting Clean With PHP
Getting Clean With PHP
Data security is important and often undervalued by designers, developers, and clients alike. Since PHP 5.2.0, data sanitization and validation has been made significantly easier with the introduction of data filtering. Today, we're going to take a closer look at these filters, how to use them, and build a few custom functions.
Difficulty:
The way to hash your data properly
The way to hash your data properly
Letís face it: the standard hashing functions md5() and sha1() are getting unsafe. There are entire libraries of md5 hash strings, and they get cracked faster every year. We need an alternative, and the best alternative Iíve found is using the improved version of sha1: sha256. PHP has a nice function to use lotís of different hash algorithms. This function is, not surprisingly, hash(). So how do we use this function?
Difficulty:
How to convert an array or object into a string in php
How to convert an array or object into a string in php
I am asked "How do I convert an array or object into a string" very frequently so I thought I would put a quick little tutorial together explaining the various different methods.
Difficulty:
PDO: The underestimated way to connect to your database
PDO: The underestimated way to connect to your database
PDO, or PHP Data Objects is one of the best ways to connect to your database, and still: barely anyone uses it. Itís also one of the fastest ways, according to research by baidu itís ~90% faster in a simple select than the normal mysql. So to make it a bit more popular, I decided to write a tutorial about it.
Difficulty:
How to Create a Minimalist and Typographic Blog Layout From Scratch
How to Create a Minimalist and Typographic Blog Layout From Scratch
WordPress theme tutorial is created with minimalism and typography in mind. You will learn how to create this minimalist theme scratch including XHTML, CSS and WordPress.
Difficulty:
Sql Queries Cache
Sql Queries Cache
This will be intermediate tutorial about caching SQL query results on php4every1.com. We will use interface to make support for extending available ways of caching your results. We will create cache that will use MySQL database and flat text files to store cache .
Difficulty:
Total Tutorials in Category: 4426