Apr 07, 2011 — 5 comments
Object-Oriented Programming (OOP) is a type of programming which makes building complex, modular and reusable web applications that much easier. With the introduction of PHP5, PHP can now compete with the likes of Java, C#, since it now has the complete OOP infrastructure. In this tutorial, I will be discussing on Introuduction to OO PHP.
Functions in PHP are block of codes or statements that can be executed repeatedly from any point in a script after it has be declared. A function is ignored until when called in a script. Using functions, you can write codes that are readable and reusable. Functions also helps to modularize your code.
One of the most powerful features of PHP is the way it handles HTML Form. HTML forms are very powerful tool for interacting with users, it allows users to enter data that Will be sent to a server for processing. HTML forms are required when you want to collect data from users, for example during user registration. In this tutorial, I will be discussing working with HTML forms in PHP.
When a form is submitted to a PHP script, the information from that form is automatically made availableto the script. As of the PHP 5.4, there are only two ways to access data from HTML forms: GET and POST. In this post, I will be discussing GET vs POST, comparing and stating when to use them.
In today tutorial, I will be showing how to create a photo album in PHP/MySQL. Before we get started, below is what our final output will look like. Photo Album In PHP/MySQL So let’s get started.
I often need to get the post thumbnail URL in my projects, but the problem is wordpress doesn't have a function that can grab then featured image URL. In this post, I will show you how you can get the featured image URL using a tiny code snippet.
The default WordPress category widget doesn't have an option to exclude certain categories from the listing, but you can easily do this by using a handy function.
Here is a tiny piece of php code which enables you to create a zip/archive file by using php's built-in ZipArchive extension.
This is a small amount of code enables the support taxonomy support for files uploaded in media library.
If you find the WordPress welcome panel a annoying or a distraction to your clients put the following line of code in your theme's functions.php file to hide or remove it from WordPress dashboard.
Help us out! More and more tutorials are submitted to Good-Tutorials each day. We could use your help with finding good tutorials. Mind lending a hand?