> -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.
>
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
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['
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
4 matches
Mail list logo