My SQL Errors Debug.. MySQL Error : Unknown column 'products.php' in 'where clause'Query Result : select * from artware_patent where N_YN = 1 and N_Class = products.php