If this is causing all forms to need to be submitted twice, I would be
suspect of the include files that were found in all the forms documents and
start my debugging process from there.

just cursory glance tells me I would like to see the include files. before I
could say that it was one thing or another.

also you dont have a break on your process case statement so it will carry
out the default and include the apply.inc file again.

only other thing is not having a ; at the end of your error suppressed echos
dont cause a problem?

Chris Sherwood

--- <SNIP> ---

Okay, this is a tricky one (i think so, anyway!), and rather long but
pleeeeeeeease help me!  I don't expect you to spend hours looking at the
problem, but any insight is appreciated.

I am (trying) to create a members only website.  However, I am having a spot
of bother.  It all works perfectly... The second time you fill in any form.

first, the user goes to newuser_process.php (Sample A) (the same thing
happens if the user goes to apply.php, I might add).

Then, the user fills in the form, and submits it to newuser_process.php

the program then checks for blank fields, which it finds none.  it then goes
on to check individual fields, and here it hangs.

it executes the if block (even though the condition is not true), and
re-shows the form, with the error message, but with nothing in the fields.

If you fill in the form again, it works.

help!!!

So far, I have re-arranged the validation order, to see if that makes a
difference, but it always fails on the first if loop.

I have also tried to manually recreate the variables on sample 'B'
(apply.php) (shown in green, if you have html formatting enabled.

Other than that, I am totally clueless.

You can reach me at any of the adresses at the end of the e mail, for any
solutions, queries about my aims/ideals in this script, or anything else.

P.s.  The .inc files and .js files are totally unrelated to the newuser
script.

-- <SNIP> --

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to