[FX.php List] Pulling data directly from findResult

Jonathan Schwartz jschwartz at exit445.com
Thu Oct 16 09:02:34 MDT 2008


Great!  That seems to retrieve the first one.  How do I call others 
in the array?

J

At 4:43 PM +0200 10/16/08, Gjermund Gusland Thorsen wrote:
>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
>>
>_______________________________________________
>FX.php_List mailing list
>FX.php_List at mail.iviking.org
>http://www.iviking.org/mailman/listinfo/fx.php_list


-- 
Jonathan Schwartz
Exit 445 Group
jonathan at exit445.com
http://www.exit445.com
415-370-5011


More information about the FX.php_List mailing list