Код: Выделить всё
public function job_fetch($key)
{
$this->db->select('*');
$this->db->from('job');
$where = "FIND_IN_SET(" . $key . ", job_title) and FIND_IN_SET(" . $key . ", city)";
$this->db->where($where);
$query = $this->db->get();
$result = $query->result_array();
return $result;
}
Код: Выделить всё
Array (
[0] => java
[1] => developer
[2] => hibernate
[3] => struts
[4] => in
[5] => mumbai
[6] => noida
[7] => delhi
)
Как это исправить?
Подробнее здесь: https://stackoverflow.com/questions/538 ... rray-using
Мобильная версия