RE: [phplib] problem with oohforms From: Philippe Paravicini (philippe <email protected>)
Date: 07/31/00

Before you can use the form, you must define the elements that are part of
the form by using the $my_form->add_element() function. This function takes
an array as an argument.

At first sight, it would appear that you are not passing a proper array in
one of the $my_form->add_element() statements.

pp

> -----Original Message-----
> From: Matthew R. MacIntyre [mailto:matthew.macintyre <email protected>]
> Sent: Monday, July 31, 2000 7:52 AM
> To: phplib <email protected>
> Subject: [phplib] problem with oohforms
>
>
>
> 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?
>
> Thanks,
>
> -matt
>
>
> ------------------------
> Matthew R. MacIntyre
> Webmaster, Newlix Corporation
> http://www.newlix.com
> Tel: 613.225.0516
> Fax: 613.225.5625
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: phplib-unsubscribe <email protected>
> For additional commands, e-mail: phplib-help <email protected>
>

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