Upload and add images in database

hello

i am new to yii framwork i an using a simple file uploader the images upload and display but i want to add image name in database also is there any way then please reply

thanks