How do you execute a php file?
Posted: Sat Feb 11, 2012 5:53 am
I have a silly question. How do you execute a php file?
I tried with this:
<form action = "file.php" method = "post">
<input type="submit" name="submit" />
</form>
except I do not know how to coordinate the button event 'submit' with the start of the php file.
What code do I put at the beginning of the php file to initiate the input button 'submit' ?
I tried with this:
<form action = "file.php" method = "post">
<input type="submit" name="submit" />
</form>
except I do not know how to coordinate the button event 'submit' with the start of the php file.
What code do I put at the beginning of the php file to initiate the input button 'submit' ?