Welcome Guest, Not a member yet? Register   Sign In
Problem with Additional Whitespace


I just upgraded from 2.2.0 to 3.0.0 and i noticed something in my pages... 

Before my views are called or even before an echo is done in a controller function, a whitespace is always present... if i echo directly in the controller before 
PHP Code:
Class Home extends CI_Controller 
The echo is done before the whitespace which makes believe it has something to do with the extending the CI_Controller... Here is an example of what i mean in attached pictures... any solutions?

Attached Files Thumbnail(s)

My guess is you have a white space after a closing php tag "?>". That's why you should not put the closing php tag in your class files. Only the opening tag is required.
CodeIgniter 4 tutorials (EN/FR) - https://includebeer.com
/*** NO support in private message - Use the forum! ***/

Thanks @includebeer... Would take note of that

Theme © iAndrew 2016 - Forum software by © MyBB