@ -105,7 +105,8 @@ class Info_amp extends CI_Controller
if ($ic) {
echo json_encode(array(
"succ" => true,
"info" => $ic->ic_content
"info" => $ic->ic_content,
"title" => $ic->ic_title
));
} else {
@ -126,7 +126,7 @@ class InfoContents_model extends CI_Model
public function get_ic_contents2($ic_id)
{
$sql="SELECT top 1 ic_id, ic_content from infoContents where ic_id=?";
$sql="SELECT top 1 ic_id, ic_content, ic_title from infoContents where ic_id=?";
$query=$this->HT->query($sql,array($ic_id));
if ($query->result())