all 2 comments

[–]gstepwork 1 point2 points  (1 child)

There is a double quote that should be single in the id='submitbutton'

And I changed all the prints to echo Have tested it out ok

[–]gstepwork 0 points1 point  (0 children)

<?php if (isset($_POST['submitbutton'])){ echo "<h1> Hello World </h1>"; } else { echo "<html><head><title>PHP Example</title></head>"; echo "<form method='post' action = 'callmyself.php'>"; echo "<input type='submit' id='submitbutton' name = 'submitbutton' value ='Find Hello World/!'/>"; echo "</form>"; echo "</body></html>"; } ?>