|
Posted by Rik on 03/09/07 20:10
weetat <weetat.yeo@gmail.com> wrote:
> Hi all,
>
> Below is my php code , basically the code will loop the posted
> selected country.
> My question is how to differentiate the HTML tag name below :
>
> <td class=3D"normal"><textarea id=3D"location_address_1"
> name=3D"location_address[]" class=3D"normal" rows=3D"5"
> cols=3D"48"></textarea></td>
Why not use a primary key, and set that in the name?
name=3D"location_address[123]"
IMHO, using the [<empty>] construct is only usefull for either checkboxe=
s =
where the value can more or less reliably be set, or for adding data. It=
's =
not terribly usefull for editing.
-- =
Rik Wasmus
Posted on Usenet, not any forum you might see this in.
Ask Smart Questions: http://tinyurl.com/anel
Navigation:
[Reply to this message]
|