video 35: when i try to insert a page the new page add becomes blank and i get a error Notice: Undefined index: title in D:\xampp\htdocs\BOBBYC\Project\admin\index.php on line 43 Notice: Undefined index: header in D:\xampp\htdocs\BOBBYC\Project\admin\index.php on line 43 Notice: Undefined index: body in D:\xampp\htdocs\BOBBYC\Project\admin\index.php on line 43 Page was added! #189
<?php
start the session
session_start();
if (!isset($_SESSION['username'])) { header('Location: login.php'); }
?>
<?php include('config/setup.php');?>
<!DOCTYPE html>
Admin Dashboard
Page could not be added because: '.mysqli_error($dbc); echo '
'.$q.'
'; } } ?>