Page 2 of 2
Posted: Thu May 13, 2004 9:08 am
by hairyjim
Hmmm - I found the problem.
Code: Select all
<input type="submit" name="Submit" value="Submit">
When I changed the above to the below it worked.
Code: Select all
<input type="submit" name="submit" value="Submit">
All I did was change the capital S on Submit to lower case.
Any hoots. It works now.
I'm off to figure out some more stuff about classes now.
Cheers
Jim
Posted: Thu May 13, 2004 9:20 am
by launchcode
hairyjim - depending on your page, you can tell if they submitted the form by simply counting the values in $_POST:
Code: Select all
if (count($_POST) > 0)
{
echo "they submitted something, somehow";
}
Posted: Thu May 13, 2004 9:23 am
by hairyjim
Thanks.
No doubt there will be further threads from me regarding forms and validation.
Jim