this is my database connection program,for an administrator login.Here when ever i entered the correct username and password,it will link to loginfailed.php only.please help me to solve this problem
<?php
$a=$_POST['admin'];
$b=$_POST['pwd'];
$status = 0;
$var = mysql_connect('localhost' ,'root','');
if (!$var)
{
die('Could not connect: ' . mysql_error());
}
my
Forum:
WampServer English