I have some basic knowledge of PHP . Once I got an 500 internal error in my Localhost (XAMPP) and it was showing that the server is overloaded. After doing some R&D I got the solution.
I used
header('location : mypage.php') // Giving me 500 internal error
The solution was
header('location: mypage.php') // just removing the space between 'location' and ':'
So my Question is why it happened ? what is the difference between 'location : mypage.php' and 'location: mypage.php' ?