Welcome Guest, Not a member yet? Register   Sign In
filter using mysql query.. simple social network website
#5

[eluser]rei[/eluser]
yes I could do that if I'm only stalking 1 person. But the problem is I'm stalking many different persons so I cannot do it like that. Take note that the $usernames variable contains the people I had stalked or followed. It is a 1 to many relationship.

And remember that I'm using a where_in clause because it contains an array. it is not just a simple where clause.


Messages In This Thread
filter using mysql query.. simple social network website - by El Forum - 08-06-2012, 05:52 AM



Theme © iAndrew 2016 - Forum software by © MyBB