I have a php page which submits to itself. If there is no POST data, it displays a form which then allows you to input values. If you submitted data to it, it does some functions based on that data and outputs that. Right now it’s just plain text and pretty dull, and I wanted to include it as one of my WP pages. If I copy/paste the php and html inside a page, though, it prints out the form but the php is handled as regular text. Is there any way of including this form to make it fit in with the rest of my theme?
- The topic ‘Using PHP inside a custom page’ is closed to new replies.