Notice: Undefined index: ukey in /home/bizinf/public_html/rus/result.php on line 7

Notice: Undefined index: cod in /home/bizinf/public_html/rus/result.php on line 8
SELECT table2.Produce, table1.Unical_key ,table1.Corporation, table1.Chief, table7.MTA, table1.Phone, table1.Fax, table6.City, table1.Adress, table1.Email, table5.Incode, table3.Region, table4.District, table1.Web_Page, table1.PP, table1.MFO, table1.Bank, table1.ZKPO, table1.Svid FROM table7, table6, table5, table4, table3, table1, table2 WHERE (table1.Unical_key=) and (table7.Code=table1.MTA) and (table6.Code=table1.City) and (table5.Code=table1.Incode) and (table4.Code=table1.District) and (table3.Code=table1.Region)and ( table1.Code=table2.Code) GROUP BY table1.Code ORDER BY table1.Corporation failed!
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 ') and (table7.Code=table1.MTA) and (table6.Code=table1.City) and (table5.Code...' at line 1