note 47732 deleted from function.empty by tularis
| From: | tularis@php.net | Date: | Fri, 26 Nov 2004 22:45:07 +0000 |
| Subject: | note 47732 deleted from function.empty by tularis | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-81083@lists.php.net to get a copy of this message | ||
Note Submitter: oschnieders at web dot de
----
I want to use empty in a if-function. i want to check, i something wrote something in a testarea,
where a text has to be.
if (empty($_POST[""])) $vorname = $_POST[""];
{ #evaluates true;
echo "Fill in all fields<p>";
}
i don´t works. Please correct my script.
----
Reason: bad code