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. We 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. These PHP tutorials / tips / tricks are either video tutorials which you can watch from this page, or text tutorials where we’ve provided a link to the tutorial.
PHP Ajax Live Search
Ever wondered how to create those awesome looking search boxes where you can see the results in real-time as you are typing? This tutorial teaches you just that. Take advantage of AJAX and learn how to create real-time results in your search box.
How to: Create dynamic XML Sitemap & RSS Feed in PHP and MySQL
XML / 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.
Scrape Websites with Python
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 or any other website.
Single Sign-on 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 Simple Shopping Cart Using PHP & MySQL
This useful PHP coding tutorial will teach you how to create a simple and easy to use shopping cart to use on your website. Make sure to watch this shopping cart video tutorial in full!
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.
Login to Analytics API Using PHP
Great little tip / trick that teaches you how to login to the Google Analytics API using PHP. This tutorial will enable you to display the Google Analytics data directly on your app or website without having to log in to Analytics.
PHP File Create & Write
In this PHP coding tutorial, you will learn how to create a file using PHP and write it on your server. This tutorial takes advantage of the fopen() function to create a file. Sounds strange? Well that’s precisely how it works. If you attempt to open a file that doesn’t currently exist on your server, your server will create the file. This tutorial also takes advantage of the fwrite() function to write to a file.
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.
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.
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.
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.
Zero Fill a Number
Learn how to make a number a certain amount of characters. Such as 5 you could make to 005. We accomplish this by using the str_pad PHP function.
$string = 777;
$zero = 5;
echo str_pad($string, $zero, '0', STR_PAD_LEFT); // 00000777
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.
These tips are so creative but boring also and they help me a lot.
That looks like a lot of work. There are easier ways to build a website, for example Sparkle
Very useful collection thanks for share keep update with more tutorial.
wow,great collection….thanks for providing those….. i wish for more collection…… 🙂
very nice and helpful post
Thanks, I’ve used several parts of the shopping cart tutorial for my florists site.
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
Great, thank you. Actually i were looking for some PHP code that could extract data from Google Adsense.
Awesome compilation of useful tutorials. Thanks a ton!
excellent collection !!!
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.
cool…. thanks for the information 🙂
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…
Thanks
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.
That shopping cart tutorial is NOT simple and easy.
its really usefull. thnxx…
Nice tutorials
The shopping cart tutorials with PHP is very handy! Great collection of tutorial.
Cool, thanks for these tips. I’ll be sure to use them in my future webdesign projects.
Love the Analytics login info, PHP amazes me more and more every day!
Great list very help full as well. Thanks for sharing….
ThanX Man i really like that ,,,,
Love the comment about the Analytics API, very useful.
Thanks 🙂
That’s “more OR less.”
Excellent collection! Thank you, thank you, thank you!!
Some excellent tips and tricks. Saving time is important and these articles do just that.
Very nice tutorials. Thanks for sharing.
Great tutorials, Thanks
Great compilation of links! Thank you!
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
nice bunch of links !
Great post, thanks for links and videos.
Nice PHP tuts. Thank you!
Great compilation of links!!
Regards,
photo editing
@Wynand, lol no, it’s not.
@ mary.
Is that Jacob Zuma in the picture?
Thanks for including one of my articles in your article. New tutorials to be posted soon.
Very nice list, thank you! Lots of reading ahead for me 🙂
Extra Tip & Trick: Use a framework!
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.
Great tutorials here. Easy to understand and follow for complete projects. Thanks!
great bunch of php tutorials bro,
thanks a lot
Aneslin’s last blog post..SEO Sitemaps Give Websites a Boost
great dear thanks and i love this too
Login To Analytics API Using PHP & Tutorial Management System & Single Signon Using OpenID, PHP and MySQL
is useful and good :*
Thanks! 😉
very nice! excellent tutorials 🙂 Esepcially the shopping cart tutorial!
Thanks! 🙂