One method that will work is to use one page instead of two. Put the page two contents first, but put it inside an 'if' test so it is not executed unless form1 has posted values. Then when it does execute, you fall out of that section right into the page one section. In both forms, the action field will be the same page name.
I make a practice of putting the form value handling logic on the same page as the form and above it. Generally gives a lot of flexibility for the next step. I can think of two or three other ways, but dont fully understand how "automatic repeating" you want this, so I will stop here. Jim --- In [email protected], "Kosuke" <[EMAIL PROTECTED]> wrote: > Hello everyone, I'm making two php pages. The first page has got a form which sends some information to second page. The second page also has got a form to send over the information to database. How can I make those form repeat and return from the second page to the first page as holding the information? I read "do{....}while" function but I don't know how to adapt it to the form. > > Kosuke > > > > > > > [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/
