A little question

Hi everyone! I’m here because i need a little answer to a question! :slight_smile:
I’ve done a php file with some array of image, the thing i’ve wanted to do is when i click on a image, the image disapear and when there is no image left, i press the button and all the image are comming back (here is a screenshot).

I success to do it but, now is the problem, did i have to link the file to a database to save the changes? Because when i refresh the browser, the change are reverting :smile:

The visibility of the array images is done by a JS code, so do you think it’s possible to only register a change done by a file or something without having to link the php file to a DB ?

Thanks a lot for the future answer! Take care and stay safe, peace!

Sponsor our Newsletter | Privacy Policy | Terms of Service