create a form which posts to itself and in the page have this:

if ($Submit=="Submit") { # where $Submit is the name of the submit button.
    # do form validation/actions here
} else {
    # display the form here
}



"Jeff Howard" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I'm trying to get information from a URL in a way similar to utilizing GET
> in ASP.  I know how to get information by submitting a form and going to a
> new page, but how can I use the form to stay on the same page, yet be able
> to retrieve the information?
>
> For example:
>
> I start on http://www.mypage.com.  I have a form to submit some
information,
> but want to remain on this page.  The result of the query looks like:
>
> http://www.mypage.com?id=5
>
> I want to be able to extract the 5
>
>



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to