since you are using the value of the id_automobile column for the files name, there is no need to store the name in the data base. it is also not possible since the file is not uploaded until after the record is inserted.
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.