[eluser]Azhari Harahap[/eluser]
Hi
[quote author="vikascoollives" date="1299588504"]You can use :
$this->db->select('name', 'Groupname');
$query = $this->db->get('members');
// Produces: SELECT (name) as GroupnameFROM members in codeigniter[/quote]
This not work, as tested on 1.7.2.
I've check through the user guide and source code,
select method only accept two parameter.
Code:
function select($select = '*', $escape = NULL)
The second parameter only accept boolean value (TRUE or FALSE).