Re: [PHP-DB] mysql_insert_id() and JOIN

2009-07-13 Thread Bastien Koert
[snip] Sorry my question... but why I must use JOIN if I can use SELECT * FROM table1 AND table2 AND table3 WHERE table1.id=table2.id=table3 not? thanks +                                                                          _ [/snip] select table1.field1, table1.field2, table2.field3,

RE: [PHP-DB] mysql_insert_id() and JOIN

2009-07-12 Thread Emiliano Boragina
[mailto:emiliano.borag...@gmail.com] Enviado el: Sábado, 11 de Julio de 2009 11:08 a.m. Para: 'php-db@lists.php.net' Asunto: RE: [PHP-DB] mysql_insert_id() and JOIN Hi again… I dont understand how to use this two… I read php.net and other sites, but dont understand... http://dev.mysql.com/doc

Re: [PHP-DB] mysql_insert_id() and JOIN

2009-07-12 Thread Niel Archer
Sorry my question... but why I must use JOIN if I can use SELECT * FROM table1 AND table2 AND table3 WHERE table1.id=table2.id=table3 not? thanks You can not use that syntax on MySQL (at least not on v5.0 or v5.1, I do not know about earlier versions). // Emiliano Boragina _ //

Re: [PHP-DB] mysql_insert_id() and JOIN

2009-07-11 Thread Niel Archer
Hi again… I dont understand how to use this two… I read php.net and other sites, but dont understand... http://dev.mysql.com/doc/ Available in the major languages, pick your filter and start reading. Having documentation in your own language may help a lot towards understanding. I have

RE: [PHP-DB] mysql_insert_id() and JOIN

2009-07-11 Thread Emiliano Boragina
Hi again. I dont understand how to use this two. I read php.net and other sites, but dont understand... http://dev.mysql.com/doc/ Available in the major languages, pick your filter and start reading. Having documentation in your own language may help a lot towards understanding. I have