hello,
Sir now i am using the following code...but the redirected page is completely blank....
My code is:
<?php
{
$dbConnect = mysql_pconnect("localhost", "root") or die("Cannot connect database");
mysql_select_db("ABC") or die("Cannot select database");
$user = $_POST['uname'];
$passwd = $_POST['passwd'];
if (isset($_POST['submit']))
{
$query = "select `fname`, `password` FROM details WHERE `fname`='$user' AND `password`='$passwd'";
$result=mysql_query($query);
if(mysql_num_rows($result) == 1)
{
header('Location:C:\xampp\htdocs\ABCcinemas\index1.html');
}
else
{
echo "No match found !<hr />";
}
}
}
?>
sir please help me out with...it...