Set form action to self/same page form is on
Normally, a PHP_SELF would work for a form like this, but with the various ways that permalinks can be set up, what do I do here? I want the form to send the data back to itself. Currently, I have the form in a page template and this is the only page that has it.
My offline machine can’t use pretty permalinks, but my online site does. How do I get it to work for both? I don’t want to have to test for and preserve a “page_id” value IN CASE the page is using standard links style unless I absolutely have to.
There should be a clean way to do this.
- The topic ‘Set form action to self/same page form is on’ is closed to new replies.