I worked out what the issue was - I had created the database table with a hyphen in the name rather than an underscore. It didn't like that and was doing horrible things to the code. I changed the table name, ran DA Pages again and it worked fine!
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.