Re: Using php to verify fields in form...

From: Date: Mon, 29 Oct 2001 18:22:22 +0000
Subject: Re: Using php to verify fields in form...
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-72757@lists.php.net to get a copy of this message
form passes to your php file your php file checks the variables with the same name of that of the form fields. you can then test htey have all been set accordingly e.g. $FieldName etc. "Jason" <jlgerfen@hotmail.com> wrote in message news:20011029172548.34104.qmail@pb1.pair.com... > I am new to php and I have been using a book to learn a bit about it and > well I could not find a chapter on how to use php to verify a form is filled > out properly, for instance I have a form with 3 fields... name, email and > words. once the user clicks the submit button i want it to verify those 3 > fields before running the php script to pass the info to a database. I have > used java-script for this function in the past but would like to use php. > Anyone know how i can accomplish this? Thanks in advance, Jason > >

« previous php.general (#72757) next »