I think itβs nice to read a little more about it. Check here .
In any case, you need to specify the file name for publication: <input type="submit" action="file.php" name="Submit" /> for example.
And you need to have more input than send.
According to your php you should have this as an example in html:
<form action="your_php_file.php" method="post"> <p>Your first name: <input type="text" name="FName" /></p> <p>Your last name: <input type="text" name="LName" /></p> <p>Your MI: <input type="text" name="MI" /></p> <p><input type="submit" name="Submit"/></p> </form>
And the php tags are like <?php , and ?> Closes.
So how:
<?php if(isset($_POST['Submit'])) { $FName = $_POST['FName']; $MI = $_POST['MI']; $LName = $_POST['LName'];
source share