Welcome Guest, Not a member yet? Register   Sign In
[Active Record] Select AS Backticks problem
#2

[eluser]vikascoollives[/eluser]
You can use :

$this->db->select('name', 'Groupname');
$query = $this->db->get('members');

// Produces: SELECT (name) as GroupnameFROM members in codeigniter


Messages In This Thread
[Active Record] Select AS Backticks problem - by El Forum - 03-05-2011, 12:04 PM
[Active Record] Select AS Backticks problem - by El Forum - 03-08-2011, 12:48 AM
[Active Record] Select AS Backticks problem - by El Forum - 03-08-2011, 01:28 AM
[Active Record] Select AS Backticks problem - by El Forum - 03-08-2011, 04:53 AM
[Active Record] Select AS Backticks problem - by El Forum - 03-11-2011, 03:46 AM
[Active Record] Select AS Backticks problem - by El Forum - 03-11-2011, 03:52 AM



Theme © iAndrew 2016 - Forum software by © MyBB