I have a Controller in CodeIgniter with the following code:
$this->load->view(\"first\"); echo \"LOL\"; $this->load->view(\"second\");
Rendering views in code igniter is done at the end. If you wish to render them as you go you can do
echo $this->load->view("first", array(), true); echo "LOL"; echo $this->load->view("second", array(), true);