Include multi record in a single record

2 posts by 2 authors in: Forums > CMS Builder
Last Post: November 12, 2010   (RSS)

Re: [hvbuilder] Include multi record in a single record

By Chris - November 12, 2010

Hi James,

Assuming you have a field in your FAQ section called "department", you can load associated FAQ records like this:

list($faqRecords, $faqMetaData) = getRecords(array(
'tableName' => 'faq',
'where' => " department = 'example' ",
));


Does that help? Please let me know if you have any questions.
All the best,
Chris