View Single Post
Old 01-05-2013, 11:43 PM   PM User | #9
elitis
Regular Coder

 
Join Date: Sep 2010
Posts: 319
Thanks: 9
Thanked 6 Times in 6 Posts
elitis is an unknown quantity at this point
Quote:
Originally Posted by mlseim View Post
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 View Post
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
elitis is offline   Reply With Quote