Welcome Guest, Not a member yet? Register   Sign In
[URI HELPER ERROR]Message: Cannot modify header information - headers already sent by (output started at C:\.......)
#3

[eluser]Ngulo[/eluser]
mi6crazyheart oh my god you're right!
Although the problem remains because in model download.php on line 2 I can not find errors: /

this is the model, and frankly I'm going crazy because of their mistakes do not find them: /

Do you see anything strange?

Code:
<?php  if(!defined('BASEPATH')) exit('No direct script access allowed'); ?>
<?php
class Download extends Model {

  function insert($data)
  {
    $this->db->insert('khc_downloads',$data);
  }
  function populate()
  {
    $query = $this->db->get('khc_downloads');
    return $query->result();
  }
  function populateById($id)
  {
    $query = $this->db->where('id_downloads',$id)->get('khc_downloads');
    
    return $query->row();

  }


function update($id,$data)
{

$this->db->where('id_downloads', $id);
$this->db->update('khc_downloads', $data);
return;
}

  function delete($id)
  {
      $this->db->where('id', $id);
      $this->db->delete('khc_download');

      return;
  }
}

thanks so much for the help Wink


Messages In This Thread
[URI HELPER ERROR]Message: Cannot modify header information - headers already sent by (output started at C:\.......) - by El Forum - 08-14-2010, 06:05 AM



Theme © iAndrew 2016 - Forum software by © MyBB