php conditionals?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux