Problem with Additional Whitespace |
Hello,
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
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.
|
Welcome Guest, Not a member yet? Register Sign In |