On Mon, Nov 22, 2004 at 09:38:00PM +0100, Perry Jönsson wrote: > 1. if ($_POST['submit'] == 'Login') { ... } This one is true if $_POST['submit'] is equal to 'Login'. > 2. if (isset($_POST['submit']) { ... } This one is true if $_POST['submit'] is set, it doesn't matter which value it has. /GM -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php