"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 Try $id (or $HTTP_GET_VARS["id"] if you want to be pedantic) -- 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]