test() ) { $connection->buildTable( 'admin', 'admin' ); } // create an empty Users instance and save it in the session if ( ! isset( $_SESSION['user'] ) ) { $_SESSION['user'] = new Users( ); } // if they asked to log out, log out if ( isset( $_REQUEST['logout'] ) ) $_SESSION['user']->logout(); $url = htmlentities($_SERVER["PHP_SELF"]); ?> Login
HTML($connection); ?>
admin($connection); print $_SESSION['user']->errors(); $_SESSION['user']->clearErrors(); } ?>