Ik have a database table "abbonees" (MariaDB) where I have among some textfields, following fields
date (current_timestamp on time of registration), type date
time ((current_timestamp on time of registration) type time
end date (date + 7 days) type date
end time ( time + 2 hours) type time
When I use this code
if ($_SESSION['pasw'] == $row["paswoord"]){
$_SESSION['ingelogd']="J";
$_SESSION['Naam']= $row["Naam"];
$_SESSION['VNaam']= $row["Vnaam"];
$_SESSION['edat']= $row["einddatum"];
When I try to login, Then I get this error: Warning: Undefined array key "einddatum" in /customers/1/5/0/fv-vl-ardennen.be/httpd.www/koepel/inlog.php on line 30 Warning: Cannot modify header information - headers already sent by (output started at /customers/1/5/0/fv-vl-ardennen.be/httpd.www/koepel/inlog.php:30) in /customers/1/5/0/fv-vl-ardennen.be/httpd.www/koepel/inlog.php on line 32
The first 3 are OK.
What do I wrong?