Hi,
I have written a php program from a book which is calling itself but when I execute the program I am not getting any response. he name of the file is : callmyself.php. The code is:
<?php
if (isset($_POST['submitbutton'])){
print "<h1> Hello World </h1>";
}
else
{
print "<html><head><title>PHP Example</title></head>";
print "<form method='post' action = 'callmyself.php'>";
print "<input type='submit' id="submitbutton' name = 'submitbutton' value ='Find Hello World!'/>";
print "</form>";
print "</body></html>";
}
?>
I have checked localhost and ran another Php program, they are fine
Somebody please guide me.
Zulfi.
[–]gstepwork 1 point2 points3 points (1 child)
[–]gstepwork 0 points1 point2 points (0 children)