Click to See Complete Forum and Search --> : Mootools Ajax driven php login help


stickbomb
10-03-2007, 12:42 PM
I am attempteing to modify the login I found at roscripts.com to accomodate my needs.

I got it to work fine by validating individually for each error and displaying a message.

the mootools and the javascript are working fine, I am having issues with my php code.

I would like to simplify and streamline the process so I put all the validations in functions and am adding the error messages to an array.

I then test if it has any errors and list them if any are present, but for some reason It does not function.

I am trying to implement this into a class I am working on so any help is appriciated

working version (http://www.3dmonic.com/test/test.php) <- very clutered and not practical
php code (http://www.3dmonic.com/test/login/includes/process/register.phps)

new version (http://www.3dmonic.com/test/test2.php) <- not cluttered and more streamlined, easier to update
php code (http://www.3dmonic.com/test/login/includes/process/register2.phps)