[eluser]gazza7364[/eluser]
[quote author="boltsabre" date="1333023977"]Well, when your form validation fails, it executes the code in the "if" part of your statement, but skips the part of your "else" statement... however, any code after the closing } of your if/else statement will get executed as well.
So, simple solution, just move all your "passed validation" code inside your else statement so it wont run unless validation passed![/quote]
Thanks, I can see where I was going wrong, since I have move the closing } for the else statement has suggested, everything is now working.
I just need another set of eyes to mull over the code.
Thanks again.