how do we do select table.value as table_value from table
in codeigniter?
的AS
部分不工作,因爲當我嘗試訪問的價值, 這並不工作:codeigniter選擇爲
$qry_inp = 'select table.value as table_value from table '
$query = $this->db->query($qry_inp);
echo $query->row('table_value ');// this will be empty, but it shouldn`t be
不`噸不管其AR或簡單查詢
查看對此答案:http://stackoverflow.com/questions/22969926/codeigniter-join-select-as –