Perhaps the problem is the boolean clausethecoalman wrote: ↑Tue Nov 17, 2020 6:35 pm
To specify a group of topic ID's try:Code: Select all
<!-- IF topicrow.TOPIC_ID != 123 or topicrow.TOPIC_ID != 456 or topicrow.TOPIC_ID != 789 -->
Code: Select all
<!-- IF topicrow.TOPIC_ID = 123 or topicrow.TOPIC_ID = 456 or topicrow.TOPIC_ID = 789 -->
Code: Select all
<!-- IF topicrow.TOPIC_ID = 123 or topicrow.TOPIC_ID = 456 or topicrow.TOPIC_ID = 789 -->
<!-- ELSE -->
That should be "and" not "or".MrAnonymous wrote: ↑Tue Nov 17, 2020 8:17 pm t <!-- IF topicrow.TOPIC_ID != 123 or topicrow.TOPIC_ID != 456 -->
php and true SQL aren't my strong point and I always have to search for the correct syntax and then the sweating starts and the cursing at the screen so I'll refrain frorm trying to give precise instructions (which would probably be incorrect anyway) but:MrAnonymous wrote: ↑Tue Nov 17, 2020 9:28 pm If topic_id IN (123, 456, 789) this is interesting, And mayby if we put in here If forum_id IN (12, 45, 78) can also work i guess. But the question is how to put this in an working code line ?