[FX.php List] Displaying related records

Tim 'Webko' Booth tim at nicheit.com.au
Mon Jul 21 20:21:17 MDT 2008


On 22/07/2008, at 12:11 PM, Jonathan Schwartz wrote:

> I'm drawing a blank on how to display related records after finding  
> the parent record. The portal is on the parent record page.
>
> Here's what I have...and it's not working:
>
> foreach($searchResult['data'] as $key => $value) {
> 	foreach($value as $key => $value1) {
>  	   echo  $value1['off_FEATURE::Headline'][0];
>   	  } }
>
> Thanks for the help.

I generally grab the Primary ID and go and do another search directly  
in the child table. Portals on layouts can be a pain at times...

Cheers

Webko




More information about the FX.php_List mailing list