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