Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End PHP Form Action Method

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #28891
    kblake
    Participant

    I am curious as to what are the pros and cons in using a form action method as self, processing to another file (ie handle-form.php) and leaving it blank. The reason I ask is I have seen it done so many ways and have never found a definitive answer. I was once told not to use the self action, but I don’t know why.

    #75103
    Democritus
    Member

    The action tells the form where to send its data. If you are using the same script to render the form as process it, use the self. If you are sending the data elsewhere, send it there. It’s as simple as that.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Back End’ is closed to new topics and replies.