Re: Creating forms dynamically

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Class validation
{
    //functions
}
if(isset($submit))
{
  //calls to validation code
}
else
{
//display webpage
}
On 3/14/06, Paul Goepfert <paul.goepfert@xxxxxxxxx> wrote:
> Hi all,
>
> I have been working on a page where I have a form.  I currently have
> the form in an else block with no access to it if I need to redisplay
> the form incase of errors. To be more specific I want to redisplay the
> page with the errors displayed. I would like to have the form coded
> once.  It would save on file size.  In my form I have a table that
> holds the text inputs.  I do have MySQL code for dropdown menus.  If
> anyone has any ideas on how to create the form when the error messages
> are displayed without having to code it a second time please let me
> know.
>
> Oh by the way this is how my page is setup now
>
> Class validation
> {
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux