plugin form submission question
I have a shortcode display a form on a page. How do I setup the action statement in the form so that it calls the same page? I have found an argument – $_SERVER[‘PHP_SELF’] – but this tends to simply load the mainpage of the blog instead of reloading the same page.
I have it set to work that it loads the data into the global $_POST array and so it should auto populate the rest when it recalls the page, but I am unsure how to get it to actually move back to itself. Is there a constant already set that I can use to do this??
- The topic ‘plugin form submission question’ is closed to new replies.