Pete wrote: >>Why not put all fields in one form? That is, repeat the >><table>...</table> n times, not the <form>...</form>. >> >>Carl >> >> > >My main issue would remain: > >How would I figure out what ><INPUT TYPE='text' NAME='title' VALUE=''> >this name was, programmatically, when I create the form, or when the >user posts it? > >
I am not sure what your question is. After submittal, the variable $_POST['title'] will contain the value of that field. If all forms have the same field named 'title', and you were to put all these fields in one form, then you'd have to code all fields like this: <INPUT TYPE='text' NAME='title[]' VALUE=''> After submittal, the variable $_POST['title'][0] would contain the value of that field in the first form, $_POST['title'][1] would contain the value in the second form, etc... If that's not the answer you're after, I don't understand the question, sorry. Carl [Non-text portions of this message have been removed] 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/
