I want the coding for image updating. i,e when the user uploding his images tat be automatically updated in mysql as well as in website

When you uplaod a picture just save the path of the new image over the old one in mysql

Follow this link below...

http://www.phpriot.com/articles/images-in-mysql/

In this site, read carefully all instructions which specifies uploading and downloading images from database. Working with this, surely you can handle image as you need...

Hope you can understand. If still problem occurs, pls let me know....

To update into your database, you can use the update query and use the image file name correctly in the relevant field... It surely works...