Error! info: MySQL Query Error

Time: 2020-6-3 8:03pm
Script: /theme_show.php

SQL: select * from files where table_id= and file_falg='sma'
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 file_falg='sma'' at line 1
Errno.: 1064