[eluser]iceuser[/eluser]
[quote author="Matalina" date="1340919131"]whats your controller look like?[/quote]
other than i have deleted everything except the above code just to be sure it works... but it still wont work on firefox and chrome on mac machine...
it looks like
Code:
<?php
class comment extends CI_Controller
{
private $error = false;
private $html = '';
public function __construct(){
parent::__construct();
}
function getComments(){
$data = array(
'html' => $this->html,
'error' => $this->error
);
header('Content-type: application/json');
echo json_encode($data);
}
}