Welcome Guest, Not a member yet? Register   Sign In
general php join question
#2

[eluser]umefarooq[/eluser]
hi you can do one thing if you have array of tags just implode the whole array with like this
Code:
$tags = implode(',',$tagArray)

than use this query

Code:
select a.twibName from twibsDB as a inner join twibTags as b on a.twibsID = b.twibsID
where a.tagText in('$tags');

check it will work fine.


Messages In This Thread
general php join question - by El Forum - 01-27-2009, 05:15 PM
general php join question - by El Forum - 01-28-2009, 03:32 AM



Theme © iAndrew 2016 - Forum software by © MyBB