Welcome Guest, Not a member yet? Register   Sign In
Simple question : can't define query result without foreach ?! And I thought I wasn't a noob anymore ....
#2

[eluser]kevinh21[/eluser]
Hi
I don't really know..but can you try this ?

if ($query->num_rows() > 0)
{
$row = $query->row();

echo $row->id;
}


Messages In This Thread
Simple question : can't define query result without foreach ?! And I thought I wasn't a noob anymore .... - by El Forum - 06-25-2008, 06:49 AM



Theme © iAndrew 2016 - Forum software by © MyBB