Thanks for that Jason,
just hand coding the SELECT and leaving the last parameter at 0 on the first line is by far the best solution, - and it also fixes my original issue without having to change my ajax significantly.
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.