Is there any way to generate random files are from specified category only. Is there any way to generate random files are from specified category only.
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Is there any way to generate random files are from specified category only.

Started by bimages, May 14, 2005, 10:38:07 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bimages

Hi...

How can I make sure that the random files generated on home page are taken from only the specified category. I have 5-6 category on my site and I just want that random files are only from 3 categories.

Thanks for your help...


Nibbler

You can specify by album using this. Restricting based on category would just be a change to the sql query.