Reply to Re: Syntax not allowed

Your name:

Reply:


Posted by Tim Roberts on 02/27/06 08:09

"Manifest Interactive" <manifestinteractive@gmail.com> wrote:

>Greetings,
>
>This is the standard syntax to build a PHP array:
>
>$myArray = array('index1' => 'val1', 'index2' => 'val2', 'index3' =>
>'val3');
>
>To create a multidimensional array you could use something like this:
>
>$myArray = array("A" => array("a", "b", "c" => array("x")), "B" =>
>"y");
>
>Not sure if this is close to what you are looking for

Not at all. He was trying to create a temporary array and reference an
element of it without saving to a variable. I, also, am surprised this
doesn't work.
--
- Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация