You have an error in your SQL syntax near '+selObj.options[selObj.selectedIndex].value+' at line 1