PHP form submit
PHP form submit
Out of context: Reply #1
- Started
- Last post
- 2 Responses
- mikeyf0
instead of using action="" use action="myfilename.php" in the form put a hidden element.
ie
input type="hidden" name="BeenSubmitted" value="TRUE"then at the top of your php
if($BeenSubmitted=="TRUE"){
do some stuff;
}or something like that, if this isn't quite right it cos its from my head.