Need Help with Category Setup

3 posts by 2 authors in: Forums > CMS Builder
Last Post: February 8, 2010   (RSS)

Re: [kevbarker] Need Help with Category Setup

By Dave - February 8, 2010 - edited: February 8, 2010

Hi kevbarker,

Try filtering the records in corp_documents based on the selected category num. If there is no selected category num this should return no records. Change my code if your category field isn't called categoryNum.

list($corp_documentsRecords, $corp_documentsMetaData) = getRecords(array(
'tableName' => 'corp_documents',
'where' => "categoryNum = '" .mysql_escape(@$selectedCategory['num']) . "'",
));


Hope that helps!
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] Need Help with Category Setup

By kevbarker - February 8, 2010

That fixed it Dave. Thanks for your help!

Kevin