You are here: Re: Issue in the multiple textarea « All PHP « IT news, forums, messages
Re: Issue in the multiple textarea

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]


Удаленная работа для программистов  •  Как заработать на 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

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