WordPress.org

Support

Support » How-To and Troubleshooting » Form Post Method to Page Not Working

Form Post Method to Page Not Working

  • I am installing a “home grown” poll on the main page of my blog. I have made a PHP coded form, using method=post, which SHOULD go to a page I created in the WordPress “realm.” The form SHOULD post variables, and the PHP code on the “action” page (action=http://www.ecorry.com/page_id=6) is SUPPOSED to take the POST variables, update a table with the respondents’ choices, and then display results based on calculations on the database data.

    The problem is, the action page is NOT receiving the POST variables, so it doesn’t increment responses, and therefore it can’t do the necessary calculations to display results.

    I also tried “get” method, but it messed up the WordPress “page_id=6” portion of the action URL.

    Is there a fix for this, so a page can accept POST variables, and do PHP calculations?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Form Post Method to Page Not Working’ is closed to new replies.
Skip to toolbar