Jump to content

welcome message according to the server time


Recommended Posts

i have created a web site.In the User page of . it will welcome the User as Good Morning, Good Afternoon or Good Evening according to the Server Time.can any one tell me how to do it.

<h1>"Goodqqq Morning"! <?php echo $_SESSION['username'];?> . Welcome to TTl University College</h1> <h2>Course Registration Requests</h2>

i need the coording to change the welcome message based on the server time in PHP.







Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...