Reply to array of array

Your name:

Reply:


Posted by Bob Bedford on 09/29/05 11:51

I've to save in an array of array some values.

Problem: I don't know the size of the array before filling it.

I'd like something like

$bigarray = array():

then runnig the code I must create dinamically (I don't know how many) few
arrays in the bigarray;
$bigarray["X"] = array():
$bigarray["Y"] = array():

then fill those arrays with few unknow number of values.
array_push($bigarray["X"],$value1);
array_push($bigarray["X"],$value2);

array_push($bigarray["Y"],$value5);
....
but array_push doesn't manage it.

How to do so ?

Bob

[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

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