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]
|