1 (edited by 2012-04-06 09:59:39)

Topic: $number = "8" AND "1"?

Title should ofcourse be "$category = "1" AND "8";?

Hi!
How can I make so a news is only showed if it's posted in category 1 AND 8? So if it's only posted in category 1 it's not going to show, if it's only posted in category 8 its not going to show, but if it's posted in 1 AND 8 it's going to show?

2 (edited by 2012-04-07 06:04:11)

Re: $number = "8" AND "1"?

Without coding, and the easiest way, would be to make a extra category for those news that go to 1 and 8. This though might not work for everyone, depends on the use.

Example: News in category 1 and 8 go also to category 9, and then just use $category = "9";

Or do you want to start hacking? http://cutephp.com/forum/style_emoticons/default/smile.gif

Re: $number = "8" AND "1"?

Without coding, and the easiest way, would be to make a extra category for those news that go to 1 and 8. This though might not work for everyone, depends on the use.

Example: News in category 1 and 8 go also to category 9, and then just use $category = "9";

Or do you want to start hacking? http://cutephp.com/forum/style_emoticons/default/smile.gif

Yeah I was looking for some sort of hacking because I'm gonna ned alot of categories.