For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > October 2005 > Re: [PEAR] Creating multiple elements of the same fields into an array with FormBuild









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PEAR] Creating multiple elements of the same fields into an array with FormBuild
Dan Rossi

2005-10-22, 3:56 am

I seem to be able to use the same object and it will display the
elements again in a flexy loop fine, however i cant seem to be able to
set the elements with an array elementname like fieldname[] , ive had
to pre define the elements in formbuilder becvause i need the element
names with an array obviouslly to display it more than once :| Any
ideas there ?

On 22/10/2005, at 4:12 PM, Dan Rossi wrote:

> Hi, Im trying to work out a way to create multiple elements of fields
> as arrays into a form. Ie I want the fields to be grouped in a row and
> then i can list say 5 rows of these elements. To give you an idea what
> i am doing. I am trying to be able add Track Titles for albums, but i
> would like to list more than one item at a time, say we had 10 tracks
> 10 rows. So in each row i want to display the title, a list menu of
> artist names from a DO and the duration. Any help with this would
> rock thanks.
>
> --
> PEAR General Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com