Re: [phplib] problem with oohforms From: Davor Cengija (davor <email protected>)
Date: 07/31/00

On Mon, 31 Jul 2000, Matthew R. MacIntyre wrote:

>
>Hello,
>
>I've been having a problem with the Form class provided with phplib 7.2b.
>When the page is loaded, after the call to finish(), I get a list of warning
>messages (one or two shown below).
>
>Warning: Variable passed to reset() is not an array or object in of_text.inc
>on line 67
>Warning: Variable passed to each() is not an array or object in of_text.inc
>on line 68
>
>
>What is wrong here, and how do I go about fixing it?
>
        Looks like you're calling $form->show_element("element")
        without $form->add_element(array("name"=>"element"...))

-- 
      v
Davor Cengija
davor <email protected>
============================
"Nicht in die Augen bringen"

--------------------------------------------------------------------- To unsubscribe, e-mail: phplib-unsubscribe <email protected> For additional commands, e-mail: phplib-help <email protected>