Networking, Programming and Graphics Tutorials

Working with PHP Arrays [1/2]

Type: Code Networking, Programming and Graphics Tutorials
Working with PHP Arrays
Level: Beginner Networking, Programming and Graphics Tutorials 
Working with PHP Arrays
Date: 2007-Mar-07
Working with PHP Arrays
Visited: 1544 times
Working with PHP Arrays
Rating: Working with PHP Arrays
Working with PHP Arrays
Author: Ivory Morhuld

This tutorial will show you how to work with arrays in PHP.

To create an array in PHP use the fowling code:

<?php
$array 
= array();
?>
Each array have one or more elements. Each element have key and value. Values can be arrays too.

Also when you define your array you can fill elements with values like shown in this example. Here the keys are: item, color and size and respective values for this keys are: ball, red and 20.

<?php
$array 
= array('item'=>'ball''color'=>'red''size'=>20);
?>
Networking, Programming and Graphics Tutorials - Working with PHP Arrays [1/2] - Networking, Programming and Graphics Tutorials

Need a specific tutorial? Do not hesitate and submit a request!
Related Tags: working folder in ftp  php mail () function not working php.ini  netbios stopped working  wmp Player.fullScreen not working  remote desktop not working  ccproxy internet not working  In DOS promt , dir command is not working  outlook not working with ccproxy  trillian webcam not working  dos tree command not working