Tuesday, October 11, 2011

Simple if statement

Code Example

<html>
<body>
    <?php
      $day=date("D");
      if ($day=="Sat")echo "Have a nice weekend!";
    ?>
</body>
</html>

No comments:

Post a Comment