Here I'm trying to upload a thumnail image to the database, the image uploads into the folder but I can't get it to update the database. When the layout is added it updates the thumbnail field as '0' but I'm trying to replace it with the filename. What am I doing wrong?
Thanks