try this little form example out:


if ( (isset($t1))&&(isset($t2)) ) {
 if ($t1==$t2) {
  echo "they are equal";
 } else {
  echo "they are not equal";
<form name="form1" method="post" action="<?=$PHP_SELF?>">
  <input type="text" name="t1">
  <input type="text" name="t2">
  t2 <br>
  <input type="submit" name="Submit" value="Submit">

PHP General Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to