Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#20 Name array issues

v1.0_(example)
open
nobody
None
5
2003-10-01
2003-10-01
Anonymous
No

I am having problem with name values in the
add_element. I saw the note on arrays[] but couldn't
figure out the write way to make it running. Can
someone fix the following notation and send me please?
For information, code element is supposed to read and
write it's value from an array called "rec".

$this->add_element(array("type"=>"text",
"name"=>"rec[UID]",
"valid_regex"=>"[1-0]",
"valid_e"=>"Numeric only",
"icase"=>1,
"value"=>$rec[UID]));

Thanks alot

oldes@occons.com

Discussion