I am pretty new at PHP and I have a question.
I have been updating my uploaded file (images) to a tmp directory using “move_uploaded_file($_FILES[$filename][‘tmp_name’]…”.and renamed the file according to the uploaded numeric id in my database (auto incresment).
Now I want to display the images, which have been renamed.
It does display the image and its information (e.g. file name, type, etc), but it does not refresh to the updated image.
If I manually reload the page, i see the correct image.
How can i display the image that has been updated?