Solved

how do i display form on only some between time?

Posted on 2008-06-18
1
293 Views
Last Modified: 2008-06-19
i have a form to be shown in between morning 10 am to evening 3 pm .. my server dates shows time 12:28  .., what is the best way to do?
0
Comment
Question by:Loganathan Natarajan
1 Comment
 

Accepted Solution

by:
phparmy earned 125 total points
ID: 21819812
<?php
$d=date("H:i:s");
if($d>="10:00:00" and $d<="15:00:00"){
//display form
}

?>
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

These days socially coordinated efforts have turned into a critical requirement for enterprises.
This article discusses four methods for overlaying images in a container on a web page
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now