|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-01-08 13:52 UTC] stas@php.net
[2001-03-06 06:53 UTC] stas@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 26 05:00:01 2025 UTC |
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.