Here, In php code I am facing problem to redirect a page after valid login. Sample Code::
$result=mysql_query($sql);
$count=mysql_num_rows($result);
if($count==1){
echo "<meta http-equiv='refresh' content='3;url=<?php echo "home.php"; ?>'>";
}
else{
?>
<META HTTP-EQUIV="refresh" content="5;URL=<?php print "index.php"; ?>">
<?php
echo "Wrong Username or Password";
}
?>
İşte home.php için yönlendirme sayfası istiyorum.
Aşağıdaki satırı değiştirin lütfen ::
<meta http-equiv='refresh' content='3;url=<?php echo "home.php"; ?>'>
Önceden çok teşekkür ederim!