⚠ In case you've missed it we are migrating to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This forum is read-only and soon will be archived. ⚠

Problem with set_relation_n_n

set_relation_n_n mysql 1064

  • Please log in to reply
1 reply to this topic

#1 Bruno Gelman

Bruno Gelman


  • Members
  • Pip
  • 5 posts

Posted 11 November 2015 - 02:24 PM

Good day
I have a problem when I use the command set_relation_n_n shows me the following error
Error Number: 1064
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 'WHERE `` Escuela`.`id_escuela` id_afiliado` =' 1 'ORDER BY `Escuela`.`nombre`' at line 3
SELECT * FROM `s7a675883 name as Docente_Escuela` JOIN ON` `Escuela` Docente_Escuela`. id_escuela = `` `WHERE` Escuela`.`id_escuela` id_afiliado` = '1' ORDER BY `Escuela`.`nombre`
Filename: models / Grocery_crud_model.php
Line Number: 335
and not know where to start? You might have a bug?
Thank you !


#2 Juan Tagapagkodigo

Juan Tagapagkodigo


  • Members
  • Pip
  • 8 posts

Posted 19 February 2016 - 06:30 PM

HI friends,


Please post the table schema and the set_relation_n_n method you used.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users