I just put those there for reference to the way the cal works. create calc.php create a form inside have it submit to itself if $_POST data exists, run the calc using $_POST data. <form method="POST">
<label>Number of Injectors</label>
<input type="text" name="NOI" value="4">
<br><input type="submit" value="Submit Form">
</form>
<br/><br/>
<?php
if(count($_POST) > 0){
print'<pre>'.print_r($_POST).'</pre>';
echo 'You entered '.$_POST['NOI'].' number of injectors';
}
?> That should get you going
Last edited by Charles Lavoie; May 17, 2016 02:33 pm UTC.
98,6Bolt,3"EXH,LINKV3,780cc,SD,SCM61@26PSI, 340LPH,AFPR,TSBOV,REARWB,FMIC,2"RAD(20/80/WW)
|