Posted by Rik on 02/07/07 19:34
Auddog <will_k@hotmail.com> wrote:
> Rik,
>
> Thanks for the feed back and here is what I got from it. By placing t=
he =
> [ ]
> around the $id (what's the periods for???) it will create an array for=
> $hours.
Nonono.
By creating the _string_ with the id in it, you html output with for =
instance id =3D 12 would looke like:
<input name=3D"hours[12]" value=3D"somevalue">
Which on return will be interpreted by PHP as:
_POST Array
(
'hours' =3D> Array
(
12 =3D> 'somevalue'
)
)
-- =
Rik Wasmus
Navigation:
[Reply to this message]
|