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 begginer web developers. You’ll learn how it’s done in this helpful step by step tutorial. 

120 Limit Characters From Your Text

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.

219 Resession (Session Manager)

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.

37 Single Signon Using OpenID, 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!
Part 1
/ Part 2 / Part 3

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

About the Author

Iggy Ko

Facebook Twitter Google+

I am the owner and main person behind WebDesignDev. I blog about all kinds of web design topics.

Iggy Ko15 Top PHP Coding Tutorials, Tips and Tricks

Comments 47

  1. Pingback: 15 Top PHP Coding Tutorials, Tips and Tricks | Web Design Tutorials | Creating a Website | Learn Adobe Flash, Photoshop and Dreamweaver

  2. Pingback: 15 Top PHP Coding Tutorials, Tips and Tricks | Web Design …

  3. vasu

    Really rise and helpful.

  4. saurabh shah

    nice bunch of links !

  5. Lee

    very nice! excellent tutorials :) Esepcially the shopping cart tutorial!

    Thanks! :)

  6. Behrouz

    Login To Analytics API Using PHP & Tutorial Management System & Single Signon Using OpenID, PHP and MySQL
    is useful and good :*

    Thanks! 😉

    Behrouz’s last blog post..Added (Bees Mover) Extera Effect

  7. flash design

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

  8. Aneslin

    great bunch of links bro,
    thanks a lot

    Aneslin’s last blog post..SEO Sitemaps Give Websites a Boost

  9. Digital Photography

    Great tutorials here. Easy to understand and follow for complete projects. Thanks!

    Digital Photography’s last blog post..Finding Photographers With A Niche

  10. PB

    nice bunch of links !

  11. Oliver

    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.

  12. mary

    Very nice list, thank you! Lots of reading ahead for me :)

  13. Daniel

    Thanks for including one of my articles in your article. New tutorials to be posted soon.

  14. Wynand

    @ mary.

    Is that Jacob Zuma in the picture?

  15. mary

    @Wynand, lol no, it’s not.

  16. image editing

    Great compilation of links!!

    photo editing

  17. Ernährungsplan

    Nice PHP tuts. Thank you!

  18. lise

    Great post, thanx for links.

  19. Projektowanie Stron Internetowych

    nice bunch of links !

  20. web development guy

    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

  21. Stative

    Great compilation of links! Thank you!

  22. FW Website Design

    Great tutorials, Thanks

  23. Deluxe Blog Tips

    Very nice tutorials. Thanks for sharing.

  24. Kaifu Computing

    Some excellent tips and tricks. Saving time is important and these articles do just that.

  25. Ray

    That’s “more OR less.”

    Excellent collection! Thank you, thank you, thank you!!

  26. PHP Tips and Tricks

    Love the comment about the Analytics API, very useful.

    Thanks :)

  27. MaD man

    ThanX Man i really like that ,,,,

  28. php open source scripts

    Great list very help full as well. Thanks for sharing….

  29. Hosting Best

    Love the Analytics login info, PHP amazes me more and more every day!

  30. J. Hendrix

    Cool, thanks for these tips. I’ll be sure to use them in my future webdesign projects.

  31. Brad

    The shopping cart tutorials with PHP is very handy! Great collection of tutorial.

  32. Baljit

    Nice tutorials

  33. alvis

    its really usefull. thnxx…

  34. Trond

    That shopping cart tutorial is NOT simple and easy.

  35. Storage Sydney

    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.

  36. Posicionamiento de web

    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…


  37. Ary Wibowo

    cool…. thanks for the information :)

  38. Luxury Clothing

    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.

  39. Nikhil

    excellent collection !!!

  40. CheapFTW

    Awesome compilation of useful tutorials. Thanks a ton!

  41. Casper Schenider

    Great, thank you. Actually i were looking for some PHP code that could extract data from Google Adsense.

  42. Lookbook

    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

  43. floristsnear

    Thanks, I’ve used several parts of the shopping cart tutorial for my florists site.

  44. adeel ahmed

    very nice and helpful post

  45. saiful

    wow,great collection….thanks for providing those….. i wish for more collection…… :)

Leave a Reply

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