logo
g
Beauty & Self
Books & Music
Career
Computers
Education
Family
Food & Wine
Health & Fitness
Hobbies & Crafts
Home & Garden
Money
News & Politics
Relationships
Religion & Spirituality
Sports
Travel & Culture
TV & Movies

dailyclick
Bored? Games!
Nutrition
Postcards
Take a Quiz
Rate My Photo

new
Classical Music
Spirituality
Judaism
Disabilities
Chinese Culture
Birds
Scrapbooking


dailyclick
All times in EST

Full Schedule
g
g PHP Site

BellaOnline's PHP Editor

g
 T O P   T E N  

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. 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.

4. 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.

5. 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.

6. The PHP Static Statement
The magic of the PHP static statement is that it allows a function to remember the value of a local variable for the next time the function is called. In this tutorial you will learn how to use the PHP static statement to give a PHP function some memory.

7. The PHP Constant
The PHP constant is very similar to a PHP variable in that it is used to store a value but, unlike a variable, the value cannot be changed. This can be very important when coding PHP programs.

8. 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.

9. The PHP For Statement
The for statement is used to control a loop within your PHP program. It works like the while and do..while statements that we discussed in previous tutorials. The for statement tests an expression. If that expression is true the program will execute the task within the loop. Here is the basic code.

10. 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.



Be sure to visit the PHP Archives for all the articles!



g

For FREE email updates, subscribe to the PHP Newsletter

g features
Archives | Site Map

forum
Forum
email
Contact

Past Issues
memberscenter


vote
Fav Social Network
Facebook
Twitter
Google+
other / none



BellaOnline on Facebook
g


| About BellaOnline | Privacy Policy | Advertising | Become an Editor |
Website copyright © 2012 Minerva WebWorks LLC. All rights reserved.


BellaOnline Editor