if ($_POST['new_password1'] == "" || !isset($_POST['new_password1']))
echo "empty input"; -----Original Message----- From: Meltem Demirkus [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 12, 2002 9:16 AM To: [EMAIL PROTECTED] Subject: [PHP] what is wrong? Hi, I want to understand what is wrong with this code?I am trying to understand when an empty inputs come from form and I will then give a warning message.. if($_POST[new_password1] == " ") echo "empty input"; thanks.. meltem -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php