Jump to content

UPDATE relation to TIME


phppup

Recommended Posts

Ohhh, these thoughts just run through my head as I sleep.  But will it work?

 

Can I set a function so that my UPDATE form will NOT execute after a certain DATE (or even a time of day?)

 

I'm thinking something along the lines of:

$time=timestamp

if $time>19:00

  echo" You need to make changes before 7:PM";

else (UPDATE... yadda yadda yadda)

 

Yes, i know this is worse than a rough draft, but will it work?  Is it acceptable methodology?

Link to comment
https://forums.phpfreaks.com/topic/259074-update-relation-to-time/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.