phppup Posted March 16, 2012 Share Posted March 16, 2012 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? Quote Link to comment https://forums.phpfreaks.com/topic/259074-update-relation-to-time/ Share on other sites More sharing options...
scootstah Posted March 16, 2012 Share Posted March 16, 2012 This is why you break out the text editor, type some stuff in, and figure out on your own if it works or not. That's how you learn. All you are doing is comparing two dates. Why would that not work? Quote Link to comment https://forums.phpfreaks.com/topic/259074-update-relation-to-time/#findComment-1328204 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.