Welcome Guest, Not a member yet? Register   Sign In
How to use variable in Active record SELECT
#2

[eluser]gigas10[/eluser]
I don't believe you want to put single quotes around a variable name in active record. So:
Code:
[b]$this->db->select($tableid,'name');[/b]


Messages In This Thread
How to use variable in Active record SELECT - by El Forum - 01-05-2010, 09:35 AM
How to use variable in Active record SELECT - by El Forum - 01-05-2010, 09:37 AM
How to use variable in Active record SELECT - by El Forum - 01-05-2010, 11:01 AM



Theme © iAndrew 2016 - Forum software by © MyBB