please create a session is the loginid and password is correct
Create a session in login page
[code=php]
<?session_start ();
$sql="select * from tbl";
if(numrow=1)
$_SESSION['sessionname']=$row['userid'];
?>
code for Logout page
please create a session is the loginid and password is correct
Create a session in login page
[code=php]
<?session_start ();
$sql="select * from tbl";
if(numrow=1)
$_SESSION['sessionname']=$row['userid'];
?>
code for Logout page
Comment