Academia Charlot

Database error: Invalid SQL: SELECT * FROM n_spina_custom_fields INNER JOIN n_spina_field_values ON(n_spina_custom_fields.cod_fie = n_spina_field_values.fie_val) WHERE n_spina_field_values.reg_val = AND n_spina_custom_fields.nam_fie = 'cita' AND n_spina_custom_fields.div_fie = '0' AND n_spina_field_values.reg_eli=0
MySQL Error: 1064 (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 n_spina_custom_fields.nam_fie = 'cita' AND n_spina_custom_fields.div_fie = '' at line 3)
Database error: next_record called with no query pending.
MySQL Error: 1064 (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 n_spina_custom_fields.nam_fie = 'cita' AND n_spina_custom_fields.div_fie = '' at line 3)
Database error: Invalid SQL: SELECT * FROM n_spina_custom_fields INNER JOIN n_spina_field_values ON(n_spina_custom_fields.cod_fie = n_spina_field_values.fie_val) WHERE n_spina_field_values.reg_val = AND n_spina_custom_fields.nam_fie = 'segunda-columna' AND n_spina_custom_fields.div_fie = '0' AND n_spina_field_values.reg_eli=0
MySQL Error: 1064 (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 n_spina_custom_fields.nam_fie = 'segunda-columna' AND n_spina_custom_fields.' at line 3)
Database error: next_record called with no query pending.
MySQL Error: 1064 (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 n_spina_custom_fields.nam_fie = 'segunda-columna' AND n_spina_custom_fields.' at line 3)