Adding Custom Form w/php
-
I would like to add a page to my site containing fields generated using embedded HTML and parsed and stored in a database using PHP. I’m not looking for help creating the HTML/PHP, just for the proper way to do this in WordPress. Can I just embedded the html/php when I add the page? This is going to be a single page, so I didn’t think I needed to create a template.
I want the page to both generate the fields and process them depending on whether the form as been submitted or not by testing a hidden “submitted” field. Can I just reference the permalink in the action attribute like so:
<form action=”http://www.savenjnow.com/softsys/?page_id=16″ method=”post”>
Thanks
Scott
The topic ‘Adding Custom Form w/php’ is closed to new replies.