[eluser]Gweg[/eluser]
[quote author="sophistry" date="1202786984"]oh yes, right, i just re-read your code sample...
are you running a query(), get() or a get_where() method before the row() method? you need to "execute" the select query by using get() get_where() or query()[/quote]
No, the two lines were like this :
Quote:$query = $this->db->select('nam_first_name')->from('NAM')->where('nam_id', $var1);
echo $query->nam_first_name;
I think that the first one do a select query, and $query is an object with the value... am i wrong ?
I'm not fluent with php, so how do you call a query method ?