function get_place_info1($latitude,$longitude)
{
$t=round($latitude,4);
$t1=round($longitude,4);
$this->db->select('name');
$this->db->from('place');
$this->db->where(round('Latitude',4), $t);
$this->db->where(round('Longitude',4),$t1);
$q = $this->db->get();
$res = $q->result();
return $res;
}
$latitude 和 $longitude 是双倍的,我想将它们四舍五入,但是当我执行它时会给我那个错误
Error Number: 1054
Unknown column 'name' in 'field list'
SELECT `name` FROM (`place`) WHERE `0` = 33.5041 AND `0` = 36.3033
Filename: C:\wamp\www\tourism\system\database\DB_driver.php
Line Number: 330
它出什么问题了?