Re: [PHP] a better way for the array

2005-02-18 Thread Pablo M. Rivas
Hello Merlin: take a look to http://www.php.net/manual/en/language.types.array.php $para[5]=array('txt' => 'Europe'.$continent['name'], 'link' => '/'.$continent[name].'.htm', 'title' => 'Europe - Continent overview'); $para[]=array('txt' => 'America'.$continent['nam

Re: [PHP] a better way for the array

2005-02-18 Thread Merlin
Marek Kilimajer wrote: Merlin wrote: Hi there, I am wondering if there is a nicer way to save the data into an array than I do. I do have a 2 dimensional array "$para". Currently I go like this: $para[1][txt] = 'Europe'.$continent[name]; $para[1][link] = '/'.$continent[nam

Re: [PHP] a better way for the array

2005-02-18 Thread Marek Kilimajer
Merlin wrote: Hi there, I am wondering if there is a nicer way to save the data into an array than I do. I do have a 2 dimensional array "$para". Currently I go like this: $para[1][txt] = 'Europe'.$continent[name]; $para[1][link] = '/'.$continent[name].'.htm'; $para[1]