PDA

View Full Version : Display Standard Error after certain time


aggiefan
07-26-2006, 10:11 PM
I have a page that I want to prevent access to after a certain date & time (it's a contest and I want to make sure people don't enter picks after the cut-off). I want to be able to put the date/time in the database before hand (when making the page), then when the php file for that page is loaded, if the time now is later than the stored date, i want it to display the error message.

What format does my date in the database need to be and how do I get the file to compare the current time/date with the stored value?

I figured it out....so nevermind...