Quote:
Originally Posted by mlseim
This line:
if ($_POST['submitted'] == 1) {
Maybe that "if" statement is false and is skipping over everything?
Temporarily change it to this, so it's always true:
if ($x=1) {
|
hmm, well now its echoing "Name is a required field". So, I guess that's a start.
Quote:
Originally Posted by AndrewGSW
Posted-data are initially strings, or arrays of strings:
PHP Code:
if ($_POST['submitted'] && $_POST['submitted'] == '1') {
|
nothing...
__________________
Coding is a challenge, get used to it
Always remember to debug
Try the guess & check method
Break it down into simple steps
|