RE: [PHP] getting values from objects

2003-04-02 Thread Ford, Mike [LSS]
> -Original Message- > From: Charles Kline [mailto:[EMAIL PROTECTED] > Sent: 01 April 2003 21:21 > To: Dan Joseph > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP] getting values from objects > > > My objective was to try and NOT use a temporary variable. >

Re: [PHP] getting values from objects

2003-04-01 Thread Charles Kline
My objective was to try and NOT use a temporary variable. for example I can do this: foreach ($res_pform->getSubmitValue("investigator5") AS $k=>$v){ echo $k . ""; } I was just wondering in other circumstances, how I can maybe just get to the value of one of the keys without setting it f

Re: [PHP] getting values from objects

2003-04-01 Thread Jason Wong
On Wednesday 02 April 2003 03:58, Charles Kline wrote: > $res_pform->getSubmitValue("investigator5"); > > returns an array, how do I get to the individual values in that array > without first setting it to a variable like: > > $myvar = $res_pform->getSubmitValue("investigator5"); > > echo $myvar['