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. 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.
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. How To Write A PHP Function
Although the PHP language has many built-in functions, there will be times when you will want to write a customized function for your program. This is easily done with PHP. Let's take a look at the code that will define or declare a PHP function.
4. The PHP fopen( ) and fclose( ) Functions and Modes
The fopen( ) and fclose( ) PHP filesystem functions and their modes are used together to open, and then close, an existing file that is part of your website or to generate a new file.
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. The PHP Break Statement
The PHP break statement is placed within the code of a loop statement to cause your program to break out of the loop statement. Below is an example of a break statement that has been added to a loop statement.
7. How to Connect to the MySQL Server with the PHP mysql_connect Function
When you are ready to work with the MySQL database in your PHP programs, the first thing you must do is connect to (or identify yourself to) the MySQL server. Here is the PHP function you will use to open a connection to the MySQL server.
8. 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.
9. The PHP Function and Function Call
There are basically two types of PHP functions. The first type is the built-in function. The second type of function is the user defined function. These are the functions that you write yourself. Then, you can call it into your program any time by coding a function call.
10. Introduction To Ecommerce Using PHP and MySQL
PHP and MySQL are a good combination for creating an ecommerce solution for your website. However, creating any complicated application such as this can seem overwhelming at first. The secret is to think of the application as a group of smaller PHP programs or scripts that work together.
Be sure to visit the PHP Archives for all the articles!
Website copyright © 2013 Minerva WebWorks LLC. All rights reserved.