Hitting a brick wall with this issue. I have everything setup as below, and the issue is when I hit my submit button I get a "Page not found" error. Can anyone see my error?

Here is my Registration.html

```
<form name="submission" action="test_connection.php" method="post" enctype="multipart/form-data">
     <input type="text" name="firstname" /><br>
     <input type="text" name="lastname" />
     <input type="submit" name="Submit" />
</form>

```

Here is my test\_connection.php

```
<?php
$con=mysqli_connect("myInternalHostname","username","password","databaseName");
// Check connection
if (mysqli_connect_errno())
  {
  echo "Failed to connect to MySQL: " . mysqli_connect_error();
  }

$sql="INSERT INTO Accounts (first_name, last_name) VALUES ('$_POST[firstname]','$_POST[lastname]')";

if (!mysqli_query($con,$sql))
 {
 die('Error: ' . mysqli_error($con));
 }
echo "1 record added";

mysqli_close($con);
?>

```

I've tried using the website name instead of the database hostname. I've tried changing the "action=" to include the full path in server (domains/websiteName/html/wp-content/themes/themeName/test\_connection.php) but I still receive the "Page not found" error. From the solutions I've seen in other sources it always had to deal with naming conventions. But I'm convinced there's a problem with Wordpress and it finding/running the PHP file. I just can't see how. Any help would be greatly appreciated.

Thank you