Hi All,
I am new here and I have been getting to grips with PHP by building an application. I would like some advice on refreshing images while a user edits a record.
I have an app which a user is able to store images with details about them. The problem I am encountering is that if a user edits the fields and then clicks a button to upload/change the image I need to refresh the page in order to show the image next to the record. If i do this without submitting the changes, the user will need to enter the details all over again.
I am not after code in general, just an idea of the logic that I can use to sort this problem out. Can I do a submit in conjunction with image upload button so that the posted values can be stored in the page without submitting changes to the database? (the user may want to cancel). I am a bit stuck and would like the process to be as easy as possible.
Thanks
Ben


