Books & Music
Food & Wine
Health & Fitness
Hobbies & Crafts
Home & Garden
News & Politics
Religion & Spirituality
Travel & Culture
TV & Movies
Here are the top ten articles for the PHP Site! These rankings are live and get reset at the beginning of each month, so check back often to see what your fellow visitors are most interested in!
1. How To Set A Default Value For An Argument Variable In A PHP Function
In this tutorial, you will learn how to use a default value for an argument variable in a PHP function. This default value is used by the function only if there is no value for the argument variable passed to the function in the function call.
2. How To Increment and Decrement In PHP
One of the most frequently used code in PHP or any programming language is the code that will increment or decrement the value of a variable. This code or expression is used in programs as simple as a page counter or as complicated as credit card processing.
3. Joining Character Strings with PHP String Operators
There are two string operators for joining character strings in PHP; the concatenating assignment operator and the concatenation operator.
4. Book Review – Object-Oriented PHP, Concepts, Techniques and Code by Peter Lavin
Object-Oriented PHP by Peter Lavin is a good book for any traditional/procedural PHP programmer who wants to switch to object-oriented PHP and also for programmers who want to switch from PHP 4 to PHP 5.
5. The PHP fread( ), filesize( ) and file_get_contents( ) Functions
We will use the fread( ), filesize( ) and file_get_contents( ) functions to read the contents of a file into a string.
6. Using HTML Form Variables with PHP
In this tutorial, we will take a look at how to pass the value of a variable from an HTML web form to a PHP program.
7. Book Review – PHPEclipse A User Guide by Shu-Wai Chow
This book by Shu-Wai Chow will show you how to install, setup and use PHPEclipse which is a popular open source IDE (integrated development environment) for PHP programmers.
8. The PHP Associative Array
An associative array uses index keys but these keys are not numeric as in the regular array. The keys in an associative array are usually character strings.
9. The PHP Return Statement
The PHP return statement is used to tell a PHP function to send information back to the calling program. This can be useful in many ways.
10. PHP Superglobal Variables and Register_Globals
PHP has a special kind of variable which is called a superglobal. The reason these variables are special is because they are automatically available to any PHP program without the programmer creating or defining them in his program. You can think of them as built-in variables.
Be sure to visit the PHP Archives for all the articles!
Website copyright © 2014 Minerva WebWorks LLC. All rights reserved.