I would like to know how php treats white spaces. Reducing a white spaces in my php coding
Actually inside the PHP script white there is no problem, in case if you use white space before and after php script which means
-------Space-----
-----Space ---
will make an error called Header Problems. You will get an error like follwing
Warning: Cannot modify header information - headers already sent by (output
started at /some/file.php:12) in /some/file.php on line 23
Try to avoid white space like
1.
2.
3.
4.
5.
6.
7.
Samsung Galaxy Note 3
For more details please check the following link: How to fix "Headers already sent" error in PHP