HIBA:
Table 'barackhoteladm_new.affiliates' doesn't exist

 SQL   SELECT * FROM affiliates WHERE code=''