Welcome Guest, Not a member yet? Register   Sign In
undefined table data, pagination related
#3

[eluser]CroNiX[/eluser]
If you are using a where in your query to get the results, you need to use the same where when you are getting the count.

lets say you had 50 males and 50 females.
If you query to get males, you get 50, but your count function is still returning 100 because you don't have the same where (only males) in it.


Messages In This Thread
undefined table data, pagination related - by El Forum - 05-29-2012, 03:37 AM
undefined table data, pagination related - by El Forum - 05-29-2012, 08:26 PM
undefined table data, pagination related - by El Forum - 05-29-2012, 08:55 PM
undefined table data, pagination related - by El Forum - 05-29-2012, 10:42 PM



Theme © iAndrew 2016 - Forum software by © MyBB