conn) or die("error in qry"); while($rec=mysql_fetch_array($fire)) { $_SESSION["user"]=$rec['name']; $_SESSION["usernm"]=$rec['user_name']; }//close while }//close function }//close class if(isset($_REQUEST["btnLoginrain"])) { $loginObj=new comparerec(); //create object. $loginObj->setconnection(); //call createCannection file $loginObj->selectdb(); //call select database file. $loginObj->login($_REQUEST["userNm"],md5($_REQUEST["pass"])); //call function.. if($_SESSION["user"]=="Guest") { echo "
"; echo "Your User and Password is Incorrect please Enter Correct User And Password..
"; } else { header("location:welcome-page.php"); } $loginObj->closeconnection(); //close connetion here. } ?> Rainbow Public School, affilated from CBSE, New Delhi

Rainbow Public School


 

Please enter your login details.

 
Forgotten Password
 
Design & Developed by @ lakshika college