Error checking company id given article id with query select * from company where keyid=