ID: 8489 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Feedback Status: Closed Bug Type: *Function Specific Assigned To: Comments: No feedback, closing. Previous Comments: --------------------------------------------------------------------------- [2001-01-08 13:52:53] [EMAIL PROTECTED] What is your register_globals setting? if you insert var_dump($demo1) before if, what it prints? --------------------------------------------------------------------------- [2000-12-30 00:29:06] [EMAIL PROTECTED] a Form is as follow: <form method="POST" action="accept_form.php"> <input name="demo1" type="text" value=""> <input type="submit" name="submit" value="go"> </form> In the server, accept_form.php is as follow: .... <script language="PHP"> if(empty($demo1) { echo "demo1 is empty"; } </script> .... Although I entered something is "demo1", empty() always returns true, and isset() works properly. what is the problem? thank you. --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=8489&edit=2 -- PHP Development 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]