404 when submitting a simple form
-
I’ve been struggling for awhile on this. I recently created a child theme, it only contains style.css, functions.php and connect.php.
I am trying to put a simple form into a page, click submit and have it call connect.php. Everytime I click submit I get Error 404 – Page NOT Found.
Below is the HTML. I know the php works, when I hard code it using the plug in insert_php, it writes to MySQl like I want.
<html>
<div class=”label_site”>
<form action=”connect.php” method=”get”>
<p>City</p>
<input name=”city” type=”text”>
<p>State</p>
<input name=”state” type=”text”>
<input type=”submit”>
</form>
</div>
</html>
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘404 when submitting a simple form’ is closed to new replies.