Jump to content


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

    Newbie

  • 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 !
Bruno

 



#2 Juan Tagapagkodigo

Juan Tagapagkodigo

    Newbie

  • 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.







Also tagged with one or more of these keywords: set_relation_n_n, mysql, 1064

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users