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
From: Charles Kline [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 01, 2003 2:58 PM To: [EMAIL PROTECTED] Subject: [PHP] getting values from objects hi there, if this: $res_pform->getSubmitValue("investigator5"); returns an array, how do I get to the individual values in that array

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['

[PHP] getting values from objects

2003-04-01 Thread Charles Kline
hi there, if this: $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['field']; thanks charles -- PHP General Mailing