5)) { $_SESSION['message']="Password is ok"; } } $sth=$conn->prepare("INSERT INTO REGISTER(fname,lname,fullname,email,password)VALUES(?,?,?,?,?)"); $sth->bindparam(1,$fname,PDO::PARAM_STR); $sth->bindparam(2,$lname,PDO::PARAM_STR); $sth->bindparam(3,$fullname,PDO::PARAM_STR); $sth->bindparam(4,$email,PDO::PARAM_STR); $sth->bindparam(5,$password,PDO::PARAM_STR); if($sth->execute()) { $_SESSION['message']="M104 registration done"; } else } $_SESSION['message']="M105 ERROR OCCURED"; } ?>