Art fair
SELECT *, SUBSTR(eDate1,1,(INSTR(eDate1, '~')-1)) as orders FROM art_fair WHERE = '' ORDER BY orders desc, IDX DESC
1064 : You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '= '' ORDER BY orders desc, IDX DESC' at line 1
error file : /m/sub/art_fair/list.php