update behaviour deletes picture
HI there,
I have created an updated page with 2 text fields and one picture. when i make changes just to the text and submit the page, the picture gets deleted. how can i stop this?
many thanks.
HI there,
I have created an updated page with 2 text fields and one picture. when i make changes just to the text and submit the page, the picture gets deleted. how can i stop this?
many thanks.
Line 63 should be:
'DefaultFileName' => "".$row_rsupdate['slider_pic'] ."",
that way it will default to the current value in the database if no new file is uploaded
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.