Welcome Guest, Not a member yet? Register   Sign In
Set Posts activ/inactiv
#6

[eluser]TWP Marketing[/eluser]
You appear to have two functions:
getPosts()
and
getactivePosts()

Which one are you calling? Please show the entire function here.

ALSO
What is the data type used in your database for the field 'active'? if it is a string character, it will return TRUE whether it contains '0' or '1'. It should be an integer or boolean type.


Messages In This Thread
Set Posts activ/inactiv - by El Forum - 04-15-2011, 01:52 AM
Set Posts activ/inactiv - by El Forum - 04-15-2011, 04:31 AM
Set Posts activ/inactiv - by El Forum - 04-15-2011, 08:34 AM
Set Posts activ/inactiv - by El Forum - 04-15-2011, 12:06 PM
Set Posts activ/inactiv - by El Forum - 04-18-2011, 09:43 AM
Set Posts activ/inactiv - by El Forum - 04-18-2011, 10:48 AM
Set Posts activ/inactiv - by El Forum - 04-19-2011, 01:11 AM
Set Posts activ/inactiv - by El Forum - 04-19-2011, 03:55 AM
Set Posts activ/inactiv - by El Forum - 04-19-2011, 01:18 PM



Theme © iAndrew 2016 - Forum software by © MyBB