create input file:
>
> $this->Form->file('color.'.$prod_color['id'].'.images.'.$i)
>
in html i see:
> data[color][1][images][0]
...
data[color][1][images][9]
but debug($this->data['color']) looks like:
> Array
> (
> [1] => Array
> (
> [images] => Array
> (
> [name] => Array
> (
> [0] =>
>
> ...
>
> [9] => ) [type] => Array ( [0] =>
>
> ...
>
> [9] => ) [tmp_name] => Array ( [0] =>
>
> ...
>
> [9] => ) [error] => Array ( [0] => 4
>
> ...
>
> [9] => 4 ) [size] => Array ( [0] => 0
>
> ...
>
> [9] => 0 ) ) ) [2] => Array ( ...
>
>
what i do wrong? why it don't create normal array?
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php