Reply to Re: multidimensional array declaration in php

Your name:

Reply:


Posted by Jerry Stuckle on 07/15/06 12:11

vito wrote:
> how to achieve that? it seems php doesn't support it well for a C
> programmer?
>
> i hope to use something like:
>
> a[$i][0];
>
> a[$i][1];
>
> a[$i][2];
>
>

The only problem i see is it should be

$a[$i][0];
$a[$i][1];
$a[$i][2];

Works as long as $a and $a[$i] are defined as arrays.

$a = array();
$a[$i] = array();


--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[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

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