Welcome Guest, Not a member yet? Register   Sign In
Blank Screen - works ok on home server but not on hosting site
#4

[eluser]Yash[/eluser]
I got and resolve the error in this function

Code:
function parse_header($page, $link_name)
    {
        $query = $this->db->query("SELECT cat_name, cat_desc FROM categories WHERE cat_url = '$page' AND site_id = 1");
        
          $data = array(
            'cat_name' => $query->row()->cat_name,
            'cat_desc' => $query->row()->cat_desc,
            'link_name' =>  " - " . $link_name);  //remove comma before ) ...simple sytax error :)
        
        $this->template->parse_view('header', 'global/header', $data);
        
    }


Messages In This Thread
Blank Screen - works ok on home server but not on hosting site - by El Forum - 10-01-2008, 12:21 PM



Theme © iAndrew 2016 - Forum software by © MyBB