html execute php code example Example: call php from html <form action="myphpfile.php"> <input type="submit" value="click on me!"> </form>