I have a html file that has two buttons, approve and reject. I want that if someone clicks on the approve button, I want the box to disappear and display a message PERMANENTLY.
By permanently I mean that it should not return the box when I refresh the page.
Is it possible with JS or PHP or anything else?
Thanks.
Uhm, presumably when someone clicks one of those buttons, you store a value somewhere indicating their action. You would normally check if the user has previously performed this action (or if it otherwise makes sense to display the buttons) and just not output them from your PHP script in that case.
Without more details about your code it’ll be impossible to provide any more help than this.