Welcome Guest, Not a member yet? Register   Sign In
Sorting not working for dynamic values.
#3

Try to figure it out by displaying the $user_type's value before query. if it is null value then something wrong there. That's why you get an error in your code/query. I suggest you to initialize your variable $user_type to 1 or any default value from your database ($user_type = 1).

Hope it will help Smile

God bless and more power!
Reply


Messages In This Thread
RE: Sorting not working for dynamic values. - by lazyfox - 10-18-2015, 10:25 PM



Theme © iAndrew 2016 - Forum software by © MyBB