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 (fe.showed in(1,3) or (fe.showed =-1 and df.showed in(1,3))) and df.publishe' at line 3 SQL=Select as key1, fe.* , as key2 , df.* , if(fe.showed =-1, fe.showed,fe.showed) as showed , if(fe.showed =-1, fe.required,fe.required) as required ,if(fe.showed =-1, fe.group_behave ,fe.group_behave ) as group_behave From onebl_dtregister_fields as df inner join onebl_dtregister_field_event as fe on fe.field_id = where fe.event_id= and (fe.showed in(1,3) or (fe.showed =-1 and df.showed in(1,3))) and df.published=1 and df.hidden=0 order by ordering

Inscripción: (29 Ene 2020)

Información del Participante
Verificación:   *  
Estoy de acuerdo con los términos y condiciones:   *  
  Leer Términos y Condiciones