want to join us? register, it's easy | help

browse by tag: arrays

sort by

newest, oldest, most popular


category icon

Sorting 2D-arrays in PHP

in PHP added by prodevtips, on 6/1/2008 array beginner tutorials general

How to use array_multisort to sort tables by column.

comment save report
category icon

PHP multi-dimensional arrays

in PHP added by mig35, on 29/9/2007 arrays beginner tutorials multi-dimensional arrays

Array is most often used as a list of indexes and values. However, an array can also be used for storing key-value pair and each value could in tern be an another array as well. In such a way you can create two-dimensional or even three-dimensional arrays. In this tutorial, I attempt to explain how and when we use arrays.

comment save report
category icon

Autofilled PHP Forms

in PHP added by goodphptutorials, on 3/11/2006 arrays autofill beginner tutorials forms

I hate typing, but I like writing code. A while ago I started to dread all the rote typing required to handle forms in PHP, and began looking for a Better Way. This article describes how I used PHP's regular expression functions to do most of the heavy lifting required to process forms properly, saving lots of typing and giving me time to do stuff I don't hate, such as writing code

comment save report
category icon

An Introduction to Arrays

in PHP added by goodphptutorials, on 2/12/2005 arrays beginner tutorials

Arrays can most easilly be described as an ordered list. An array is a list of scalar data

comment save report