
videopixel
User
Aug 31, 2010, 1:03 AM
Post #1 of 4
(673 views)
Shortcut
|
|
Show field from linked category section
|
Can't Post
|
|
almost live with my site. But still some problems… I have a multi record section called "links" with the following fields: title, url, category. The category is a drop down list populated from another multi record section called "links_categories" The "links_categories" has the fields: title, icon. The icon is an upload field… pretty basic... Everything is working in the back and front-end only one thing: how do i show the icon from the category with the links?
list($linksRecords, $linksMetaData) = getRecords(array( 'tableName' => 'links', 'perPage' => '10', 'orderBy' => 'RAND()', 'allowSearch' => '0', )); body:
<?php foreach ($linksRecords as $record): ?> (here i want to show the icon from the category that is linked to the title) <?php echo $record['title'] ?> <?php echo $record['url'] ?> <?php endforeach ?> thanks!
|