[Solved] Cannot modify header information – headers already sent by (output started at 22 [duplicate]


header("Location: login.php"); is called after you send content (maybe an error in your includes), you should put this one before any showed contents.

I see you do that :
echo $Nama;
It’s the kind of thing that makes a headers already sent by error…

2

solved Cannot modify header information – headers already sent by (output started at 22 [duplicate]