Welcome Guest, Not a member yet? Register   Sign In
simple code!
#1

[eluser]joeizang[/eluser]
ssloxing,

why don't you just do the proper thing and use a view instead of echoing?

Code:
class Blog extends Controller
{
   function Blog()
   {
     parent::Controller();
   }
  
   function index()
   {
     $this->load->view('viewfile');
   }
}

and then in your view just put what you want to a regular html file and save as php or an empty file and echo what you want!! :-)




Theme © iAndrew 2016 - Forum software by © MyBB