Je moet ingelogd zijn om te stemmen.
session_start(); if(isset($_SESSION['ingelogd'])) { include ("wijzig_je_gegevens.php"); }
session_start(); if(isset($_SESSION['ingelogd'])){include ("wijzig_je_gegevens.php");}
<h1>User panel</h1> <?php require_once("connect.php"); if(!isset($_SESSION["login"])) { include("logout.php"); } else { include("login.php"); } ?>
<h1>User panel</h1> <?php require_once("connect.php"); if(!isset($_SESSION["login"])) { include("logout.php"); } else { include("login.php"); }?>