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 fe.id as key1, fe.* , df.id 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 omebl_dtregister_fields as df inner join omebl_dtregister_field_event as fe on fe.field_id = df.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: (21 Sep 2019)

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