You are here: Re: Multi-Dimensional Arrays In PHP ... ??? « PHP Programming Language « IT news, forums, messages
Re: Multi-Dimensional Arrays In PHP ... ???

Posted by Chung Leong on 07/25/06 02:48

David T. Ashley wrote:
> Hi,
>
> Aside from the obvious recursive syntax for initialization,
>
> $x = array( ... array( ...)),
>
> what is the best way to deal with multi-dimensional arrays in PHP?
>
> It seems there is no syntax like $x[i][j][k]???
>
> Thanks, Dave.

What exactly are you trying to do?

The following is perfectly legal syntax:

<?php

$x[0][1][17] = "Something";
$x[0][34][11] = "Something else";

?>

 

Navigation:

[Reply to this 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

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