plus the sql has some typos:
in the line:
"AND thread.forumid NOT IN(111,180,181,201,213,214,215,216,217,218,219,220 ,222,223,162,165,166,167,198,2 03,204,205,206,208,116,194,171,207,221,193,195,196 ,)"
--there should not be a trailing comma in the list
--you have a space between the 2 and 03 in the list that should be 203:
you have "98,2 03,204" and it should be "98,203,204" (he thinks whitespace is a value delimiter).
when i fix those two, he stops complaining.
|