[thelist] field checking in PHP

Martin Kuplens-Ewart martin at takingitglobal.org
Mon Dec 17 22:21:15 CST 2001


For each field in your form:

if($field1)
{
	$checkint++;
}

Then, at the end:
if($checkint != "" || $checkint != "13")
{
	echo("You must complete either all or none of the fields!");
}

Hth,

-m






More information about the thelist mailing list