Spaces should be avoided in field names, and in form element names.
You have used a space in the Gallery Name column of your database, and in the name of the Form element.
i recommend using the camelCase naming convention to avoid the use of spaces.
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.