25 Program to demonstrate Server Role in PHP

Program:

<html>

<body>



    <?php

        if(date('G')<12)

            echo "Good Morning ".date('G');

        else

            echo "Welcome";

    ?>

   

</body>

</html>


Output:


Previous
Next Post »