//$temp_pwd = mt_rand(100000,999999);
//$p->passwd = $temp_pwd;
if($p->insert()){
+
$this->delete();
//login
//mail pwd
$htmlStr = "";
$htmlStr .= "Dear ".$p->honor.".".$p->lastname."<br /><br />";
- $htmlStr .= "Congratulations on Joining HydRa.<br /><br />"
+ $htmlStr .= "Congratulations on Joining HydRa.<br /><br />";
$htmlStr .= "If you need to access the system again please log in using the password ";
$htmlStr .= $temp_pwd;