Welcome Guest, Not a member yet? Register   Sign In
Simple Query problem
#1

[eluser]Ngulo[/eluser]
hi all

i'm trying to select data in this way but it is,i guess, really wrong:
Code:
$order_1=$this->db->order_by("hours", "asc");
$limit_1=$this->db->limit(1);
$data['query']=$this->db->get('table',$order_1,$limit_1);

which is the better way to write this simple query....i did can't find an example Sad

thanks for supporting Wink


Messages In This Thread
Simple Query problem - by El Forum - 04-13-2010, 09:36 AM
Simple Query problem - by El Forum - 04-13-2010, 09:39 AM
Simple Query problem - by El Forum - 04-13-2010, 10:13 AM



Theme © iAndrew 2016 - Forum software by © MyBB