06.02.2013, 21:58
Well, the query seems unfinished at the end. At least the round bracket which you opened at the beginning of it does not get closed. I am not that much into MySQL, something is wrong at the query at least, but that could be a reason.