Reply to Re: Arrays on the fly

Your name:

Reply:


Posted by Geoff Berrow on 03/28/07 06:51

Message-ID: <5viOh.22881$0Z1.21461@newsfe7-win.ntli.net> from Brian
contained the following:

>Below is the full code, I get an error saying
>"Fatal error: Cannot use [] for reading in /var/www/...."
>on this line, it will not add to the array?
>
>$$k[] = $file; // add file to array

Variable variables doesn't work with arrays like this. I solved it by
using a multi dimensional array but some people posted some alternatives
on one of the groups recently. (solutions involved curly brackets I
think)

--
Geoff Berrow 0110001001101100010000000110
001101101011011001000110111101100111001011
100110001101101111001011100111010101101011

[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

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