You are here: Re: Form related question « PHP Programming Language « IT news, forums, messages
Re: Form related question

Posted by Shelly on 12/28/05 14:24

In your submit processing area do a select from the database. If there
is a match you could do one of two things:

Set a session variable with an error message and call the page again.

or call the page again with the error message as the parameter.

In either case you would display the message in the form area. In the
first method you would then unset the variable. In the second method
you would set a vaiable near the beginning of the code using $_GET and
it would be this variable you would later display.

On success you would go somewhere else. The calling would be don with
header()

 

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

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