RE: [PHP] what is wrong?
| From: | Rudolf Visagie | Date: | Thu, 12 Sep 2002 07:41:57 +0000 |
| Subject: | RE: [PHP] what is wrong? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-116105@lists.php.net to get a copy of this message | ||
if ($_POST['new_password1'] == "" || !isset($_POST['new_password1']))
echo "empty input";
-----Original Message-----
From: Meltem Demirkus [mailto:mdemirkus@momentum-dmt.com]
Sent: Thursday, September 12, 2002 9:16 AM
To: php-general@lists.php.net
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