i am trying to go to next page but it is currently showing "Notice: Undefined index: u...y". The values i am accessing was accessible before but now it is showing this error.. i have tried to understand the problem but all in vain.. kindly help thanks..
 <?php
$con = new mysqli("localhost","root","","mydb");
$titl = $_POST["u"];
$auth = $_POST["v"];
$isb = $_POST["w"];
$pub = $_POST["x"];
$keyw = $_POST["y"];
$q = "select * from mytable";   
$rs = $con->query($q);  
while($r = $rs->fetch_assoc())
{
    if($titl == $r["title"] && $auth == $r["author"] && $isb == $r["isbn"] && $pub == $r["name"] && $keyw == $r["keywords"])
    {
        echo"<html>
            <body>
            <style>
            body  
            {
                background-image: url('load1.gif');
                background-color: #cccccc;
            }
            </style>
            </body>
            </html>
            ";
            sleep(5);
             header("Location: info.php");
            exit;
    }
    else
    {
        if($check == 'notfound')
        {
        //  echo "Not Found...";
        }
    }
    echo"<br>";
  echo "</tr>";
}
echo "</table>";    
$con->close();
?>
 
    