Checking value after Submit

Codes here !

Moderators: egami, macek, gesf

Post Reply
fredws
New php-forum User
New php-forum User
Posts: 14
Joined: Wed Jul 16, 2003 4:16 pm

Wed Sep 24, 2003 7:48 pm

I have a form on a page, that when submited, calls another php file that puts the information into the database. Is there any way to check the value of a field before it gets sent to the "insert.php" file? Or, do I just have to check it at the "insert.php" file, and if it is wrong redirect to the form and fill the fields back in?

TIA!
Fred
User avatar
Redcircle
Moderator
Moderator
Posts: 826
Joined: Tue Jan 21, 2003 10:42 pm
Location: Michigan USA
Contact:

Wed Sep 24, 2003 10:07 pm

you would need to use javascript -OR- check on the input.php page that it posts to and redirect back to the form.
Post Reply