get rid of "or die(mysql_error())"
It's a bad practice to echo all of one's mysql errors to the screen, since it gives away a lot of information about the structure of your database to hackers. I've taken to commenting out this string. This has the unfortunate effect of making it so that DW won't recognize recordsets or behaviors, which makes it hard to work on the page usefully. Any chance you could make an extension that would let DW parse recordsets and behaviors even when the echoing of the mysql errors has been turned off?