On Tuesday 05 March 2002 16:15, you wrote:
> Andre Dubuc wrote:
> > As a complete newbie to PHP, and relative novice to html, this one has me
> > stumped. Rather than wade through volumes of documentation, I thought I'd
> > risk asking it here.
> >
> > After inserting variables from a fill-out html form into my database, I
> > would like the form to "goto" the next html page, but I cannot figure out
> > how to do this basic function. I assume that when one clicks a "Submit"
> > button, the info is sent to the server, but how do you call a new page?
> > [In my old Paradox PAL days, this was accomplished very easily. I cannot
> > find a corresponding function either in PHP or html.]
> >
> > (I.e: Once a person clicks on <"Input type=submit value="Accept"> Is
> > there a function that can redirect the form to a new form?)
> >
> > Any help here would be greatly appreciated (or pointers to a good working
> > tutorial that covers this area!)
>
> Usually people will do one of two things:
>
> Make the action of the form tag point to the new page directly.  That
> page would take care of any form data processing that needed to happen.
>
> OR
>
> Have the form call itself, then when it's done, use a HEADER tag with
> location: to redirect
> header("Location: newpage.php");
>
> Hope that helps.
>
>
> Michael Kimsal
> http://www.phphelpdesk.com
> 734-480-9961



Thanks Michael,

Again, my 'newbieness' is going to be very apparent. For the first option you 
referenced the 'action of the form tag' -- what is that? Do you mean, as in 
'<form action="demo.php" method="get">'?

Your second suggestion sounds like what I want to achieve, but I'm not clear 
as to what you mean or refer to: "have the form call itself" -- How do I do 
that? And secondly, where would I put the header tag: with the calling form 
or the called form?

Oh, it's so embarassing to know so little :)

Tia,
Andre

-- 
Please pray the Holy Rosary to end the holocaust of abortion.
Remember in your prayers the suffering souls in Purgatory.

May God bless you abundantly in His love!

For a free Cenacle Scriptural Rosary Booklet -- http://www.webhart.net/csrb/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to