Today, I’ve tried to use session for my website and I have to put session_start();
at the top of my file to do anything with session.
But It showed me some errors, so I googled and I found the cause of this problem
and also got the solution.
It caused of my Notepad++ put something on my file when I save in UTF-8.
To solve this problem, just change your encoding to UTF-8 without BOM





