ob_start(); session_start(); include("includes/dbconfig.php"); if(!isset($_SESSION['user_id'])){ //$_SESSION["redirect"] ="groups_categories.php"; //$_SESSION["redirect"] ="groups_categories.php"; header("Location:login.php?pag=groups_categories.php"); exit; } ?>