php conditionals?
| From: | stao | Date: | Wed, 15 Sep 2010 03:48:35 +0000 |
| Subject: | php conditionals? | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-30329@lists.php.net to get a copy of this message | ||
Hi,
I saw php usage like below somewhere. I kind of wonder why the page does
not display anything. in my understanding, php only interprets what is
inside <?php> <?>. Since the form is outside of any php tags, the form
should be displayed?
Thank you for any helps.
<html>
<body>
<?php
if (0)
{
?>
<form action="test.php" method="post">
<input type="text" name="name">
<input type="submit" name="submit" value="EnterYourName">
</form>
<?php
}
?>
</body>
</html>