15 Top PHP Coding Tutorials, Tips and Tricks


PHP is a widely-used scripting language that is suited for web development and can be embedded into HTML. PHP is used in many websites on the internet. I have compiled a list of 15 top PHP coding tutorials and tips / tricks  to help you better understand it. These should keep you busy for a while. They all can come in handy sometime when you are coding.

Limit Characters From Your Text

In this tutorial you will learn how to limit characters from a sentence without cutting words up. This is a really useful tutorial for beginner web developers. You’ll learn how it’s done in this helpful step by step tutorial.

Create An Advanced Password Recovery Utility

Learn how to create a very advanced password recovery tool using PHP. This can be useful, and you can implement it in to your website login system.  This PHP coding tutorial teaches you how to handle encrypted and unencrypted passwords, basic mySQLi functions, and how to also build in a temporary lockout if the user answers the security question incorrectly too many times.

Login To Analytics API Using PHP

Great little tip / trick that teaches you how to login to the Google Analytics API using ClientLogin. 

Error 404 Pages With PHP Auto-Mailer

Website error pages are perhaps one of the most overlooked pages of a website. This is an awesome tutorial for creating a custom error 404 page. This tutorial teaches you how to spice up the design a bit, add basic navigation and link to the website’s sitemap.

Resession (Session Manager)

Check this out. Its a really nifty session manager that you can integrate with your website.


Simple PHP Class For Parsing Markup

This tutorial will teach you how to make a simple class that wraps PHP’s various regex functions in a fluent interface.

How to: Create RSS Feed in PHP

RSS is an easy way to make your content global and available to various platforms. In this tutorial, you’ll find out how easy it is to create feeds for your content in PHP.

A basic Wikipedia scraper

Any info you need, be sure you’ll find it on Wikipedia! In this tutorial, you’ll learn how you can build a small scraper in PHP to fetch basic information about any topic from Wikipedia.

PHP Based Address Book Using MySQL

Learn how to create a PHP address book and store all the addresses in a MySQL database with this helpful PHP coding tutorial. 

Single Signon Using OpenID, PHP and MySQL

Enable your website / web application to accept OpenID as a way of login.  In this tutorial you’ll have a look at how you can enable your site for Open ID logins. You’ll be using PHP and MySQL.


Creating a File & Downloading It Using PHP

In this PHP coding tutorial, you will learn how to create a file using PHP, and then enable your users to download it. The tutorial will teach you how to get a user’s ip, place it in a text file, and have the ‘download it all’ without the text file being stored on your server for more than a few seconds.

Creating A Shopping Cart Using PHP

This useful PHP coding tutorial will teach you how to create a simple and easy to use shopping cart to use on your website. There are 3 parts, enjoy!

Zero Fill a Number

Learn how to make a number a certain amount of characters. Such as 5 you could make to 005.

Create Your Own PHP MYSQL Search Engine

Learn how to make your own search engine using this PHP coding tutorial! There are a ton of ways to design and implement a search engine, but this tutorial shows you a quick easy way.


Simple Private Messaging System – Use PHP to create a PM system

In this tutorial you will learn on how to write a simple Private Messaging System for an existing userlogin script.


47 Simple Private Messaging System - Use PHP to create a PM system

Recommended for you:

47 thoughts on “15 Top PHP Coding Tutorials, Tips and Tricks”

  1. Amazing styling and great simple to use product,One of the best web app implementations I have have ever seen.

  2. Lots of good links here. I use a bit of php when developing my sites but I would like to learn more. I will have to have a look at all of these tutorials and hopefully learn more php so I can learn it properly. Thanks.

  3. thanks for posting. i went ahead and look at and they are all interesting tutorials for me. All i needed to excel my skills in php. keep the good work

  4. PHP is a broad programming tool. And These tutorials are helpful enough for the beginners but there are really lot more to learn. Hence, thanks for sharing these tips.

  5. Thanks… this is really usefull…

    Im learning about php and this is an excellent guide to me… I will bookmarkthis article so I can check them all later…


  6. PHP can be really tricky if you really don’t know how to use it. But all the information you’ve provided will definitely help us beginners. Great post.

  7. Really helpful, I’m working now on my new polish fashion website and I want use Create An Advanced Password Recovery Utility write by net.tutsplus

Leave a Reply

Your email address will not be published. Required fields are marked *