PDA

View Full Version : an easy one - well for you anyways :)


Vinney
08-27-2002, 10:59 PM
i want to do a password check, so to make sure that both $pass and $pass1 equal the same before continuing

what is the php version of this ?

is it :

if($pass != $pass1) {
eval("dooutput(\"".gettemplate('webmail_error')."\");");

is that correct ??

Scott MacVicar
08-27-2002, 11:04 PM
presuming the variables are set

if($pass != $pass1) {
eval("standarderror(\"".gettemplate('webmail_error')."\");");
}

use the above code instead where webmail_error is simply the error message passed in to the standarderror function.