[FX.php List] Related table problem

Dale Bengston dbengston at preservationstudio.com
Fri May 4 12:40:18 MDT 2007


Hi Roger,

Spaces in relationship names shouldn't affect this part, since it's  
an associative array key where the key is a string in quotes. I think  
the real culprit is the line:

> echo "Bio: ",$speakerBio;

Try a period instead of a comma before $speakerBio.

Dale


On May 4, 2007, at 12:44 PM, Roger Price wrote:

> Marisa
>
> Thank you for your prompt reply.
>
> It sounds a plausible reason for it not working and I should have  
> thought of that myself.
>
> However 'Speakers 2'  was the default that FMP provided when I  
> created the relationship!
>
> I will report back once I get back to work
>
> kindest regards
>
> Roger
>
>
> ----- Original Message -----
> From: Marisa Smith
> To: FX.php Discussion List
> Sent: Friday, May 04, 2007 4:43 PM
> Subject: Re: [FX.php List] Related table problem
>
> I think you need to take the space out of the relationship name:
>
> Rename the "speakers 2" relationship to "speakers2"  and see if  
> that does it.
>
> Marisa
>
> On May 4, 2007, at 10:35 AM, Roger Price wrote:
>
>> I have a field from a related table on my 'web' layout.
>>
>> The following is a section of the 'found' array:
>>
>> [speakers 2::speaker_bio] => Array ( [0] => something )
>>
>> The lines:
>> $speakerBio = $value['speakers 2::speaker_bio'][0];
>> echo "Bio: ",$speakerBio;
>>
>> just displays 'Bio:'
>>
>> all the other fields are OK
>>
>> What am I doing wrong?
>>
>> Your advice would be much appreciated
>>
>> Roger
>> _______________________________________________
>> FX.php_List mailing list
>> FX.php_List at mail.iviking.org
>> http://www.iviking.org/mailman/listinfo/fx.php_list
>
>
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list



More information about the FX.php_List mailing list