You are here: Re: Re-draw a form with user's input. « PHP Programming Language « IT news, forums, messages
Re: Re-draw a form with user's input.

Posted by Manuel Lemos on 10/23/21 11:20

Hello,

on 07/03/2005 03:23 PM SAndrejev@gmail.com said the following:
> I'm new to web programming but i think that you can make a function,
> somthing like print_content($error) which will be printed if you open
> the page for the first time or if validation didn't pass(then you will
> probably would like to pass #error variable)

That is the way this forms validation and generation works. You post the
form to the same page where it is presented. If it was submitted the
class can validate the form values. If there is an invalid field, the
form may be presented again with information about the invalid fields.

http://www.phpclasses.org/formsgeneration


--

Regards,
Manuel Lemos

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/

PHP Reviews - Reviews of PHP books and other products
http://www.phpclasses.org/reviews/

Metastorage - Data object relational mapping layer generator
http://www.meta-language.net/metastorage.html

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация