what i want to do is to check the password in the Employee table where user name is fill in the form ..but i cant do how to do the error shows that:
Notice: Use of undefined constant password - assumed 'password' in E:\Xamp\htdocs\login.php on line 17
wrong password or user name ...
here is the employee table
create table Employee(
E_ID number(10) primary key,
E_First_Name varchar2(10),
E_Last_Name varchar2(10),
user_name  varchar2(10) unique,
password varchar2(10),
E_Gender varchar2(6),
E_address varchar2(50),
E_phone_No number(11),
E_category varchar2(10),
EMP_salary number(20),
work_hour varchar2(20),
Date_Of_Join date
);
<?php
                   $conn=oci_connect("system","123","localhost/orcl");
    ob_start();
    $current_file=$_SERVER['SCRIPT_NAME'];
    $massage= "";
                   settype($bar, "string");
    if(isset($_POST['user_name'])&&isset($_POST['password']))           
    {
        $user_name= $_POST['user_name'];
        $password = $_POST['password'];
        if(!empty($user_name)&&!empty($password))
        {
                                                                             $sql = "select password into $bar  from Employee where user_name='".$user_name."' ";
                $stid = oci_parse($conn,$sql);
                $r = @oci_execute($stid);
                if(password==$bar )
                {
                    echo 'login verified...<br>';
                }
                else
                {
                    echo 'wrong password or user name ...<br>';
                }
        }
        else
        {
            $massage = "please fill up your username and password correctly<br>";
        }
    }
?>
<html>
<head>
<title>Login</title>
<style>
body
{
background:orange;
}
</style>
<head>
<body>
fill username and password to log in<br><br>
<?php echo $massage;?>
<hr color="green">
<form action="<?php echo $current_file;?>" method="POST">
    user_name:<br> <input type="text" name ="user_name" ><br><br>
    password:<br> <input type="text" name="password" ><br><br>
    <input type ="submit" value="Log In"><br><br>
                   <a href="OrderTable.php">please check  your Order_ID</a><br><br>
</form>
</body>
</html>
 
     
     
    