4
Thanks Mithrandir, it worked perfectly.
Now next thing thats needed is if user clicks on submit button on edituser.php without filling up the "Real Name" and "Extra Info" field than a proper error message has to be shown and should be redirected back to edituser.php.
i think this has to be done in edituser.php somewhere after line 52.
I thought of this, could you verify wether this is right or not
Quote:
if (empty($name) ) {
$errors[]=_US_EMPTYREALNAME;
}
if (empty($bio) ) {
$errors[]=_US_EMPTYEXTRAINFO;
}
Do let me know if i am wrong.