When I get request, I want to show plain text directly, what shoul I do?
Thanks
When I get request, I want to show plain text directly, what shoul I do?
Thanks
Thanks, But the result add header and footer, and I want to show plain text only. what’s about other solution?
Thanks again ^^
I mean that I show plain text only, not with view layout, like that
<?php
echo ‘hello’;
?>
and It will show hello only.
$this->layout=false;
echo 'hello';
Yii::app()->end();
Thank you, it’s OK.
^^