Re: html_quickform - array question
| From: | Leif K-Brooks | Date: | Thu, 27 Mar 2003 02:31:59 +0000 |
| Subject: | Re: html_quickform - array question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-141157@lists.php.net to get a copy of this message | ||
Are you trying to print/echo it? That converts it to a string first. Either print_r it, var_dump it, or do something else with it.
Charles Kline wrote:
hi all,
using html_quickform (pear) and it has a date type that passes the date info like this:
array(24) {
["lr_pub_date"]=>
array(3) {
["m"]=>
string(1) "3"
["d"]=>
string(2) "12"
["Y"]=>
string(4) "2003"
}
I am used to getting this data like:
$form->getSubmitValue("field_name");
But doing that with this array just returns: Array
Anyone know how to get to the data?
Thanks
charles
--
The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it
will be prosecuted to the full extent of the law.