Welcome Guest, Not a member yet? Register   Sign In
when I load a model within a controller the link and script tags in the view get embedded within the body tag
#3

[eluser]midooh[/eluser]
class Authi extends Controller {

function Authi()
{
parent::Controller();
$this->load->model("SP/SP_model");

}

function index(){
$data=array(
"main_css_template"=>$this->config->item("global_template"),
"Javascript_library"=>$this->config->item("application_main_JS_library_file"),
"page_title"=>$this->config->item("Main_Page_title"));
$this->load->view("Home/main_page.php",$data);
}

}


even when i load it inside the index function or autoloading it i get the same result


Messages In This Thread
when I load a model within a controller the link and script tags in the view get embedded within the body tag - by El Forum - 10-06-2009, 12:17 PM



Theme © iAndrew 2016 - Forum software by © MyBB