Welcome Guest, Not a member yet? Register   Sign In
Pagination [doing my head in]...anyone...please?
#2

[eluser]bretticus[/eluser]
Want to provide...oh maybe...an error message or two? Smile

By the way, what is the purpose of...

Code:
if($property_type == 0)
   {
      $sql = "SELECT * FROM properties ";
   }

...because, unless that if statement is true, you have an incomplete query as it is followed by...

Code:
// more queries here
   $sql .= " LIMIT ".$limit.", ".$offset.";";
   $query = $this->db->query($sql);

...and that may be the source of "its screwing up!" So, again, please provide your error message(s).

Cheers!


Messages In This Thread
Pagination [doing my head in]...anyone...please? - by El Forum - 08-27-2010, 04:06 AM
Pagination [doing my head in]...anyone...please? - by El Forum - 08-27-2010, 07:35 AM
Pagination [doing my head in]...anyone...please? - by El Forum - 08-27-2010, 07:36 AM
Pagination [doing my head in]...anyone...please? - by El Forum - 08-27-2010, 07:49 AM
Pagination [doing my head in]...anyone...please? - by El Forum - 08-27-2010, 07:52 AM
Pagination [doing my head in]...anyone...please? - by El Forum - 08-27-2010, 08:03 AM
Pagination [doing my head in]...anyone...please? - by El Forum - 08-27-2010, 08:06 AM



Theme © iAndrew 2016 - Forum software by © MyBB