meenctg
Learn24bd
- Local time
- Tomorrow, 05:28
- Joined
- May 8, 2012
- Messages
- 133
What i have to do in the if true part for redirecting a user that place where he/she wanted to visit before login?
Code:
if($count==1){
// store session data
$row = mysql_fetch_array($result);
//echo $row['name'];
$_SESSION['harun']= $row['email'] ;
//print $row['name'] . "Thanks, Redirecting";
header( "location:member_login_success.php");
}
else {
//echo "Wrong Username or Password";
//print "Wrong Username or Password";
header("location:member_login_wrong.php");