Query Error: SELECT temp.*,b.truename FROM (SELECT vid,subject ,uid,@vt,attachurl FROM bg_vid WHERE uid= and pass=1 ) as temp, bg_user as b where temp.uid=b.uid order by vid desc limit 0,3 The URL Is: http://blog.ichinaceo.com/blog.php?do-showone-uid-1005046-type-vod-itemid-1937.html MySQL Server Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and pass=1 ) as temp, bg_user as b where temp.uid=b.uid order by vid desc limit ' at line 1 ( 1064 ) You Can Get Help In: http://www.phpwind.net |