[FX.php List] Re: Self-relationship

Anthony Talo alatalo at chartermi.net
Thu Sep 29 08:15:27 MDT 2005


OK, I'm making progress....

this:
echo $recordData['SELF_scimage::Image_Number'][0];  --returns the first 
item in the portal

this:
echo $recordData['SELF_scimage::Image_Number'][1]; -- returns the 
second, etc. ,etc.

this:
$sec_array = ($recordData['SELF_scimage::Image_Number']);
foreach( $sec_array as $key=>$value )
			                         {
			                               echo $value;
			                         }
--gives me ...

  DTM_14275DTM_14275_BloodSugarDTM_14275_PageLocatorDTM_14275_shopguide

How do I get it to display..
DTM_14275
DTM_14275_BloodSugar
DTM_14275_PageLocator
DTM_14275_shopguide

I tried.... echo $value[0];


and got back...

DDDD

So I'm almost there - help?

Cheers,
Tony



More information about the FX.php_List mailing list