View Single Post
  #5  
Old January 31st, 2012, 10:58 AM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi

Sure, you would just need to pass the RandomFile() function the folder name based on the category ID or category slug.

print RandomFile($category->id.'/','.*');

Eric