Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • Right, but how do I tell if the form was submitted then... I need to differentiate between case A, user just visits page, and case B, user has submitted the form back to the page with no data posted. Commented Sep 14, 2011 at 23:15
  • 1
    Ah I see, then check this link out to see how to determine if the request was a POST as well - stackoverflow.com/questions/1538065/find-out-http-method-in-php. Commented Sep 14, 2011 at 23:18
  • Perfect, saves me passing extra data. Commented Sep 14, 2011 at 23:22