Welcome Guest, Not a member yet? Register   Sign In
Pagination issue: need to get a variable
#2

[eluser]Herb[/eluser]
I would suggest that you test your sql with something like phpMyadmin in every possible assemblage your code could render, then see if it returns the information you would expect. If it doesn't then you need to rework your sql until it does.

Also based on the variables you set early on, $pDjelatnost and $pGrad are arrays and your if statements forming your query will always evaluate to FALSE as presented. You need to test your if statements by inserting the appropriate values that could occur to ensure they evaluate correctly, then modify as necessary.

Hope this is helpful.


Messages In This Thread
Pagination issue: need to get a variable - by El Forum - 07-11-2009, 12:06 PM
Pagination issue: need to get a variable - by El Forum - 07-11-2009, 02:01 PM
Pagination issue: need to get a variable - by El Forum - 07-11-2009, 03:15 PM
Pagination issue: need to get a variable - by El Forum - 07-11-2009, 03:43 PM



Theme © iAndrew 2016 - Forum software by © MyBB