Re: [PHP] Sending multiple values from a form having same field names.

2008-03-19 Thread Suamya Srivastava
Hi, Thanks all for the help. I suffixed all the field names in the form with field id, like name=field_name_fieldid and fetched it as an associative array. Thanks, Suamya > Eric Butera wrote: >> On Fri, Mar 14, 2008 at 6:02 AM, Zoltán Németh >> <[EMAIL PROTECTED]> wrote: >>> 2008. 03. 14, pé

Re: [PHP] Sending multiple values from a form having same field names.

2008-03-14 Thread Eric Butera
On Fri, Mar 14, 2008 at 8:12 PM, Jim Lucas <[EMAIL PROTECTED]> wrote: > > Eric Butera wrote: > > On Fri, Mar 14, 2008 at 6:02 AM, Zoltán Németh <[EMAIL PROTECTED]> wrote: > >> 2008. 03. 14, péntek keltezéssel 14.08-kor Suamya Srivastava ezt írta: > >> > >>> Hi, > >> > > >> > How can I send

Re: [PHP] Sending multiple values from a form having same field names.

2008-03-14 Thread Jim Lucas
Eric Butera wrote: On Fri, Mar 14, 2008 at 6:02 AM, Zoltán Németh <[EMAIL PROTECTED]> wrote: 2008. 03. 14, péntek keltezéssel 14.08-kor Suamya Srivastava ezt írta: Hi, > > How can I send multiple values from a form to be stored in a database, as > name of the fields is the same? > > For

Re: [PHP] Sending multiple values from a form having same field names.

2008-03-14 Thread Eric Butera
On Fri, Mar 14, 2008 at 6:02 AM, Zoltán Németh <[EMAIL PROTECTED]> wrote: > 2008. 03. 14, péntek keltezéssel 14.08-kor Suamya Srivastava ezt írta: > > > Hi, > > > > How can I send multiple values from a form to be stored in a database, as > > name of the fields is the same? > > > > For example

Re: [PHP] Sending multiple values from a form having same field names.

2008-03-14 Thread Zoltán Németh
2008. 03. 14, péntek keltezéssel 14.08-kor Suamya Srivastava ezt írta: > Hi, > > How can I send multiple values from a form to be stored in a database, as > name of the fields is the same? > > For example: > > foreach ($field_data as $field) { > > $field_name=$field["field_name"]; >

[PHP] Sending multiple values from a form having same field names.

2008-03-14 Thread Suamya Srivastava
Hi, How can I send multiple values from a form to be stored in a database, as name of the fields is the same? For example: "; } elseif ($datatype=="textarea") { echo ""; } echo ""; } ?> This creates a form with field names and text box or textarea box next t