The error is as follows:
"Warning: Cannot modify header information - headers already sent by (output started at /public_html/header.php:6) in /public_html/includes/permEvent.inc.php on line 67"
The line 67 of permEvent.inc.php:
// Clear form fields
if (isset($_POST['clr'])) {
header("location: ./permEvent_pass.php");
}
and the line 6 of the header.php:
<?php
if (!isset($_SESSION['user_info'])) {
session_start();
}
?>
<!DOCTYPE html>
<html lang="ko" dir="ltr">
<head>
<meta charset="utf-8">
.
.
As you can see, I have no extra line or a space between Closing tag "?>" and start of HTML in header.php
I've tried everything without a solution.
If someone can help out, I'd appreciate it very much!
Thanks in advance.
Keith