Was: FUSK!

You can create and use variable array variables easily like so:


${"line_$i"}[$pos] = "some text";

and to make multi-dimensional, just:

${"line_$i"}[$pos] = array('one' => array(), 'two' => array());

and more:

${"line_$i"}[$pos]['one'][0] = array();

etc.

Norm
--
FREE Avatar hosting at www.easyavatar.com
Norman Peelman [ Mi, 10 Januar 2007 02:08 ] [ ID #1591138 ]
PHP » alt.php » Was: FUSK!

Vorheriges Thema: get single record from array
Nächstes Thema: Select box.