Hello. I have the following code in a PHP file that won't seem to post for some reason. register.php does exist and everything but it wont work. Please help. Thanks
<input type="submit" name="Submit" value="Join Now!" action="register.php" method="POST" >
Well, this your snippet of HTML shows us what part of your form looks like. How would I know what is wrong with your PHP code if I can't see it?
Well, I can't answer that. I thought the problem was in that code. I'm posting to make sure I wrote the correct HTML to post to file register.php.
Okay, and why do you believe it's not the PHP code? It could be that PHP is looking for a variable like $_POST['submit'] and you have it as name="Submit" on your form.
There's not way that I or someone else would be able to spot the error without looking at what you are asking the PHP script to parse.
How about trying your html code as a form instead of just a button.
Try this out:
<form method = "post" action = "register.php">
<input type="submit" name="Submit" value="Join Now!">
</form>
That way you are actually submiting the form?