Hi,
I want to write a php code that displays a html button only till some point of time.
Since php is a scripting language and code get executed only when the html page is rendered,
I was thinking that instead of polling I can just check the time at the time the page is getting rendered. If the current time does not satisfy my condition then I simply won't echo that button else I can echo the button.
Is this approach right or should I do polling ?