try this little form example out:
--------------example.php--------------
<?php
if ( (isset($t1))&&(isset($t2)) ) {
if ($t1==$t2) {
echo "they are equal";
} else {
echo "they are not equal";
}
}
?>
<html>
<body>
<br>
<br>
<form name="form1" method="post" action="<?=$PHP_SELF?>">
<input type="text" name="t1">
t1<br>
<input type="text" name="t2">
t2 <br>
<input type="submit" name="Submit" value="Submit">
</form>
</body>
</html>
-------------/example.php--------------
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
- RE: [PHP] Variables Cheng, Kynan (London)
- RE: [PHP] Variables Jonathan Sharp
- [PHP] Variables James Bartlett
- Re: [PHP] Variables Tyler Longren
- Re: [PHP] Variables James Bartlett
- Re: [PHP] Variables Dallas K.
- Re: [PHP] Variables James Bartlett
- RE: [PHP] Variables Matthew Loff
- Re: [PHP] Variables rick
- RE: [PHP] Variables Don Read
- RE: [PHP] Variables Adam
- RE: [PHP] Variables Adrian Ciutureanu
- [PHP] variables webgenie
- Re: [PHP] variables nayco
- Re: [PHP] variables David Otton
- [PHP] variables Lennart Johansen
- Re: [PHP] variables Andrew Brampton
- [PHP] variables Jule Slootbeek
- Re: [PHP] variables Justin Blake
- [PHP] variables Roman Duriancik
- [PHP] Re: variables Michael Virnstein

