Welcome Guest, Not a member yet? Register   Sign In
easy way (!) to convert result of get() into a string?
#2

[eluser]LDMajor[/eluser]
Code:
$i = $this->session->userdata('id');
     $this->db->select('email')->from('users')->where('id', $i);
     $me = $this->db->get();
     $row=$me->row();
     echo $row->email

you always can write a function that will do it for you =\


Messages In This Thread
easy way (!) to convert result of get() into a string? - by El Forum - 10-30-2008, 10:36 AM
easy way (!) to convert result of get() into a string? - by El Forum - 10-30-2008, 11:01 AM
easy way (!) to convert result of get() into a string? - by El Forum - 10-30-2008, 11:07 AM
easy way (!) to convert result of get() into a string? - by El Forum - 10-30-2008, 11:55 AM
easy way (!) to convert result of get() into a string? - by El Forum - 10-31-2008, 01:55 AM



Theme © iAndrew 2016 - Forum software by © MyBB