0

It says not to "echo" when using it. So how do I put in variable in my views?

2 Answers 2

1

By not using echo it means in your libraries, models, and controllers. Your views are after the output buffer has been called by the output class. you should be fine.

Sign up to request clarification or add additional context in comments.

Comments

0

Straight from the codeignitor documentation....

VERY IMPORTANT: If you are getting a blank page when compression is enabled it means you are prematurely outputting something to your browser. It could even be a line of whitespace at the end of one of your scripts. For compression to work, nothing can be sent before the output buffer is called by the output class.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.