Thanks for taking the time to read my question.
I am trying to get the "Try It Out" code to work on page 376
Quote:
quote:
<?php
session_start();
if ((isset($_SESSION['user_logged']) &&
$_SESSION['user_logged'] != "") ||
(isset($_SESSION['user_password'] &&
$_SESSION['user_password'] != "")) {
include "logged_user.php";
} else{
include "unlogged_user.php";
}
?>
|
I'm using my own db but I have set up the tables the same. I don't understand how this is supposed to connect to the db and see if the user exists and let the person into the site. As it stands, I always go to the unlogged_user.php page.
What am I missing?
Thanks,
Brad