RSS help

14 posts by 3 authors in: Forums > CMS Builder
Last Post: December 15, 2011   (RSS)

strange here it is again
Attachments:

rss-xml_006.php 3K

Can I set it up to pull from 2 fields? Most would be from the truck listing but the name of the company has to come from the account listing.

Re: [towtimes] RSS help

By Jason - December 15, 2011

Hi,

If you need to get account record associated with each truck record, just add a query to fetch that record inside your foreach loop.

This example assumes you're using CMSB version 2.08 or higher:

<?php foreach ($trucksRecords as $record): ?>
<?php $account = mysql_get("accounts", $record['accountNum']); ?>


Hope this helps
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/