[FX.php List] Pulling data directly from findResult

Gjermund Gusland Thorsen ggt667 at gmail.com
Thu Oct 16 08:43:27 MDT 2008


echo $findResult['data'][key($findResult['data'])]['desiredfieldname'][0];

ggt

2008/10/16 Jonathan Schwartz <jschwartz at exit445.com>:
> Hi Foks,
>
> Instead of using foreach, how can data be pulled from the $FindResult array?
>
> Trying syntax such as this, without result:
>
> $desireddatavalue = $findResult['data'] ['desiredfieldname']
>
> I know it's not right.  I'm just missing that last syntax step....I think.
>
> Assume that I want to manually step through found records, string with
> first.
>
> Thanks
>
> Jonathan
>
> --
> Jonathan Schwartz
> Exit 445 Group
> jonathan at exit445.com
> http://www.exit445.com
> 415-370-5011
> _______________________________________________
> 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