Re: How do I get information from a URL?

From: Date: Wed, 22 Aug 2001 01:55:27 +0000
Subject: Re: How do I get information from a URL?
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-8985@lists.php.net to get a copy of this message
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" <jeff.howard@berry-hinckley.com> wrote in message news:20010821230920.4621.qmail@pb1.pair.com... > 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 > >

« previous php.windows (#8985) next »