View Single Post
Old 03-19-2005, 12:20 PM   #11 (permalink)
idx
Senior Grasshopper
 
idx's Avatar
 
Join Date: Jun 2003
Location: FL
Posts: 317
idx is on a distinguished road
Quote:
Originally Posted by JimAdkins
Ok, wait. I had changed it to $_POST values, but now I just changed it back to $_GET and it seems to be working. That's wierd. Why would it work with GET and not POST?
Depends on what form method you use. $_GET will be populated during a standard page request ({a href}) or a form that uses a GET method. $_POST is only for forms that use a post method.

I typically only use method="GET" for forms that are requesting data and use POST for submitting data.

You can also use $_REQUEST, but be aware that any cookies will also be contained in the array.

-r
idx is offline   Reply With Quote