Object orientated programming (OOP) is a commonly used term when discussing modern programming techniques. One of the things that makes humans stand out is the ability to categorise - we put objects into categories of similar type of function. For example, we have the category vechicle. Within this category, you have the different types of vehicle - car, bug, train, van. In the same bag, a llama is a type of animal. This analogy applies to programming - we create functions to do specific tasks and then group similar functions into classes. No only does this organise everything, but also allows a common access point for these similar functions.
You may already know about PHP variables, and how unfortunately you can only store only one value at a time. But now lets move on to a new type of variable called an array. Arrays allow you to store as many values as you want inside it. It keeps track of the information by indexing the data by a number or a string. Think of a variable as a bottle of soda. And think of an array as a case of sodas, or a warehouse of sodas.
Hopefully you know what PHP is already. If not I'd better explain it. Right, PHP is a scripting language that you embed in web pages to do advanced stuff. But unlike HTML, PHP is not sent straight to the client to work out it is converted into HTML on the server it is running on and then sent to the client. So this allows you to have a database server set up on your server and you can request records from it whatever way you want! Also because the PHP code is worked out on the server clients are unable to see the PHP code in the page just the outputted HTML!!!
In order to accomplish almost any programming task with PHP you'll be dealing with strings. To get the best out of PHP you must thoroughly understand the basic string functions available. In this tutorial we will lay down the foundations needed for a solid understanding of strings. As we examine a multitude of basic string functions, we will focus in on specific uses for each and show examples of how many of these functions can be used together. This tutorial will start with the very basic use of a string in PHP and build upon that base knowledge by showing you specific functions and how they can be used together
Joining mailing list will entitle you
to receive occasional emails informing you of news and
updates to the site and any special offers that may be
of interest to you.