[PHP] Question for PHP Arrays

2006-04-28 Thread Saul Rennison
Hi, I'm making a PHP Installer that is customizable by using plugins, I haven't used PHP for a while and which I have forgotten some things about PHP *eek*.. Anyway, I want to know how to add things to an array. Like this: $foobar = array() $foobar['rar']['miaw'] Would that output come out

Re: [PHP] Question for PHP Arrays

2006-04-28 Thread Richard Davey
On 27 Apr 2006, at 20:51, Saul Rennison wrote: Anyway, I want to know how to add things to an array. Like this: $foobar = array() $foobar['rar']['miaw'] Would that output come out (for the array) as: array( 'rar' = 'miaw' ) No, it would create a multi-dimensional array that contains

Re: [PHP] Question for PHP Arrays

2006-04-28 Thread Jochem Maas
Saul Rennison wrote: Hi, I'm making a PHP Installer that is customizable by using plugins, I haven't used PHP for a while and which I have forgotten some things about PHP *eek*.. $hiddenKnowledge = unforgetPHP(); Anyway, I want to know how to add things to an array. Like this: $foobar =