OmeGa3 Posted January 10, 2013 Share Posted January 10, 2013 Hello , i have create a fonction wich check via a "class validate" if the email & password are well formated i didnt include the validate class & the code here is not full the main problem is i have this error Error: There are 2 array declarations that contain text character variables or values without quotations: array( $_POST['email'], $_POST['email'] ) ); array( $_POST['password'], $_POST['password'] ) ); { $validEmail = new ValidateEmail( array( $_POST['email'], $_POST['email'] ) ); $validpass = new ValidatePassword( array( $_POST['password'], $_POST['password'] ) ); if ( $validEmail->isValid( ) && $validpass->isValid( ) ) i have tried with "" but it not work $validEmail = new ValidateEmail( array( $_POST["email"], $_POST["email"] ) ); $validpass = new ValidatePassword( array( $_POST["password"], $_POST["password"] ) ); if ( $validEmail->isValid( ) && $validpass->isValid( ) ) could you help me to correct the syntax please ? thx you Link to comment Share on other sites More sharing options...
PFMaBiSmAd Posted January 10, 2013 Share Posted January 10, 2013 The forum section where you posted this is for mysql help. Topic locked. Link to comment Share on other sites More sharing options...
Recommended Posts