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
Navigation:
[Reply to this message]
|