Showing posts with label php function. Show all posts
Showing posts with label php function. Show all posts

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>