Hi am using below line in my query $this->db->group_by('FROM_UNIXTIME(E.servertime,"%Y-%m-%d")', FALSE); but when i execute its appending FROM_UNIXTIME(E.servertime, `"%Y-%m-%d")` how to resolve this please help me
$this->db->select() accepts an optional second parameter. If you set it to FALSE, CodeIgniter will not try to protect your field or table names with backticks. This is useful if you need a compound select statement.
$this->db->select() accepts an optional second parameter. If you set it to FALSE, CodeIgniter will not try to protect your field or table names with backticks. This is useful if you need a compound select statement.
Hi am using below line in my query
ReplyDelete$this->db->group_by('FROM_UNIXTIME(E.servertime,"%Y-%m-%d")', FALSE);
but when i execute its appending FROM_UNIXTIME(E.servertime, `"%Y-%m-%d")` how to resolve this please help me
$this->db->select() accepts an optional second parameter. If you set it to FALSE, CodeIgniter will not try to protect your field or table names with backticks. This is useful if you need a compound select statement.
Delete$this->db->select() accepts an optional second parameter. If you set it to FALSE, CodeIgniter will not try to protect your field or table names with backticks. This is useful if you need a compound select statement.
ReplyDelete