[FX.php List] Display a Rlated list of records
gerry.charest at agfa.com
gerry.charest at agfa.com
Thu Oct 12 12:24:39 MDT 2006
Hi All,
I'm having a brain cramp today, perhaps some one can help me out.
I have a list of records that each may have a group of related values
returned from a portal. What I would like to do is display the portal data
in a table, following the parent record data. When the portal has records
it is visible when it doesn't it is not shown. I'm assuming I would use a
foreach loop to display the portal records and corresponding html. But I
just can't get my head around defining the foreach loop to iterate for the
number of related records from the portal. Can someone give me a nudge
with the MISSING SYNTAX?
foreach ($searchResult['data'] as $key=>$searchData){
//Parent Record Data display here
foreach( "MISSING SYNTAX" ){
//Child record data displayed here
}
}
Thanks
Gerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.iviking.org/pipermail/fx.php_list/attachments/20061012/d6e849ce/attachment.html
More information about the FX.php_List
mailing list