How do I reference a PHP file when submitting a form? I am using a text editor, so nothing fancy.
This is code is not working for me:
<html>
<body>
<form action="MAILTO:example@google.com">
<input>
</form>
</body>
</html>
The action attribute of the form tag directs the browser to where you want to send your form data. To direct the browser to a PHP script, just change the action attribute in your code to the PHP script you’d like to send your data to.