Failed to the query of [ SELECT DISTINCT TblTokyoNfShopInfo.id, TblTokyoNfShopInfo.SID, TblTokyoNfShopInfo.AID, TblTokyoNfShopInfo.RankStateInt FROM TblTokyoNfGirl, TblTokyoNfShopInfo WHERE TblTokyoNfShopInfo.RankStateInt >= 2 AND (TblTokyoNfShopInfo.AID=1 ) AND TblTokyoNfGirl.category=8?? ORDER BY TblTokyoNfShopInfo.RankStateInt DESC, RAND() ]
/home/kir585675/public_html/yokohama-delihel.com/public_html/nf_globa_smart_func.php:1181
errno=1064
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 '??= ORDER BY TblTokyoNfShopInfo.RankStateInt DESC, RAND()' at line 8