WordPress form with custom PHP code (no plugin)
-
I downloaded a plugin that enables custom PHP code. I can now paste PHP code in any page. But, this line does not work <form action=”contact”> for a custom contact form:
Page not found. Please try to go back to the homepage.
Contact is the name of the page. Entering the full path also does not work.
This does also not work:
<form name=”contactform” method=”post” action=”<?php echo $_SERVER[‘PHP_SELF’]; ?>”>
How can I solve this please?
Please understand I am NOT looking for a plugin.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘WordPress form with custom PHP code (no plugin)’ is closed to new replies.