| Posted by Neil Jones on 05/22/06 22:25 
I am having difficulty with a form processing script.This cut down version also exhibits the problem
 The idea is to input the data and then click the submit button
 to process it, but it just reloads the form.
 
 Can anyone point out where I am going wrong?
 In case there is an effect I am running it on a linux machine
 on my desktop via 127.0.0.1
 The file is called pdcd1.php,so it calls itself.
 
 <?
 if (!$submitm)
 {
 ?>
 <form method="post" action="pfcd1.php" name="main">
 <?
 print"<input type=\"radio\" name=\"mastercontrol\" value=\"on\">";
 ?>
 
 <input type="submit" name="submitm" value="submitm"></form>
 <?
 }
 else
 {
 print "<html><br>";
 print "PROCESSED";
 }
 
 
 --
 Neil Jones
 neil@nwjones.demon.co.uk
  Navigation: [Reply to this message] |