Pete wrote: >The original idea was that a variable number of forms would be put on >the editing page. Somewhere between 4 and 10, I would guess. > >However, now they want to just press one button and update all - which >has me baffled! Any suggestions? > >A single form is: > ><FORM METHOD=post> ><TABLE> > > <INPUT TYPE='text' NAME='title' VALUE=''> > <INPUT TYPE='text' NAME='order' VALUE='99'> > <TEXTAREA NAME='desc'></TEXTAREA> > <INPUT TYPE='hidden' NAME=ID VALUE=12> > > <input type=submit name=submit> > ></TABLE> ></FORM> > >(obviously I have pulled loads of stuff out.) > >So is there a way to loop through an unknown number of <FORM>s? > > > Why not put all fields in one form? That is, repeat the <table>...</table> n times, not the <form>...</form>.
Carl Community email addresses: Post message: [email protected] Subscribe: [EMAIL PROTECTED] Unsubscribe: [EMAIL PROTECTED] List owner: [EMAIL PROTECTED] Shortcut URL to this page: http://groups.yahoo.com/group/php-list Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-list/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
