phpbar.de logo

Mailinglisten-Archive

[php] OOHFORMS error why?

[php] OOHFORMS error why?

swEk php_(at)_phpcenter.de
Sat, 21 Jul 2001 12:32:43 +0200


simple code but doesn't work. any ideas?

<?

$_PHPLIB['libdir'] ='../phplib/';
include($_PHPLIB['libdir'].'oohforms.inc');

$f = new form;

$f->add_element(array("type"=>"text",
                             "name"=>"foo",
                             "valid_regex"=>"^[a-z]*$",
                             "valid_e"=>"Letters only",
                             "icase"=>1,
                             "value"=>"bar"));

?>





Warning: Undefined index: text in ../phplib/oohforms.inc on line 235

Warning: Undefined index: name in ../phplib/oohforms.inc on line 71

Warning: Undefined index: name in ../phplib/oohforms.inc on line 72

Warning: Undefined index: valid_regex in ../phplib/oohforms.inc on line 71

Warning: Undefined index: valid_regex in ../phplib/oohforms.inc on line 72

Warning: Undefined index: valid_e in ../phplib/oohforms.inc on line 71

Warning: Undefined index: valid_e in ../phplib/oohforms.inc on line 72

Warning: Undefined index: icase in ../phplib/oohforms.inc on line 71

Warning: Undefined index: icase in ../phplib/oohforms.inc on line 72

Warning: Undefined index: value in ../phplib/oohforms.inc on line 71

Warning: Undefined index: value in ../phplib/oohforms.inc on line 72

Warning: Undefined property: isfile in ../phplib/oohforms.inc on line 250

Warning: Undefined property: hidden in ../phplib/oohforms.inc on line 253

swEk_(at)_gmx.net





php::bar PHP Wiki   -   Listenarchive