Welcome Guest, Not a member yet? Register   Sign In
database question -> get rows from complex query AND results in ONE query ?!
#5

[eluser]Richard Schumann[/eluser]
but why ? i have one query what i can split like

$this->db->from(‘user’);
$this->db->num_rows();

if ($search) { $this->db->like }
$this->db->where
and so on

and finaly get();

so why i cant do before a limit a count and then a offset get ?! :-)

i wonder if big projects or maybe google repeat the full code just for a resultcount :-(


Messages In This Thread
database question -> get rows from complex query AND results in ONE query ?! - by El Forum - 05-17-2010, 01:30 PM



Theme © iAndrew 2016 - Forum software by © MyBB