![borracho](http://static.forosdelweb.com/fdwtheme/images/smilies/borracho.png)
![Patada](http://static.forosdelweb.com/fdwtheme/images/smilies/footinmouth.png)
![Golpeado](http://static.forosdelweb.com/fdwtheme/images/smilies/pelea.png)
:-p
![lloron](http://static.forosdelweb.com/fdwtheme/images/smilies/chillando.png)
![triste](http://static.forosdelweb.com/fdwtheme/images/smilies/frown.png)
![ojotes](http://static.forosdelweb.com/fdwtheme/images/smilies/ojotes.png)
![Stress](http://static.forosdelweb.com/fdwtheme/images/smilies/stress.png)
![Serio](http://static.forosdelweb.com/fdwtheme/images/smilies/molesto.png)
![dormir](http://static.forosdelweb.com/fdwtheme/images/smilies/durmiendo.png)
![Neurótico](http://static.forosdelweb.com/fdwtheme/images/smilies/scared.png)
DE ANTEMANO GRACIA SPOR LA ATENCION PRESTADA
![Adios](http://static.forosdelweb.com/fdwtheme/images/smilies/adios.gif)
| |||
Muchas Tablas Y Pocas Consultas ![]() ![]() ![]() :-p ![]() ![]() ![]() ![]() ![]() ![]() ![]() DE ANTEMANO GRACIA SPOR LA ATENCION PRESTADA ![]() |
| |||
Hola, Eso lo controlas desde la consulta, con JOIN (http://dev.mysql.com/doc/mysql/en/JOIN.html). Como esto no es competencia de PHP, muevo el mensaje a base de datos. Saludos.
__________________ Josemi Aprendiz de mucho, maestro de poco. |
| |||
OK PERO LO QUE QUIERO HACER ES QUE CON SOLO HACER LA CONSULTA BAJO X PARAMETROS A LA TABLA PRINCIPAL QUE TIENE CAMPOS COMO (POR CITAR UN EJEMPLO), CODIGO CIUDAD, CODIGO PROVINCIA, CODIGO COLOR, CODIGO REFERENCIA Y ASI SUCESIVAMENTE SIENDO ESTOS CAMPOS LAS LLAVES CON LAS OTRAS TABLAS QUE CONTIENEN LA DESCRIPCION Y DETALLES DE ESOS "CODIGOS", Y QUE CON ESA CONSULTA TENGA ACCESO A LOS DEMAS DATOS DE LAS DEMAS TABLAS, SIN TENER QUE HACER UNA POR CADA TABLA QUE CONTENGA LA DESCRIPCION DE LOS CODIGOS DE LA PRINCIPAL O HACER UN QUERY DE EXCESIVAMENTE LARGO EN DONDE LIGUE MI TABLA PRINCIPAL CON LAS DEMAS DE UNA SOLA PARA TENER ACCESO A LOS DATOS EN CUALQUIER MOMENTO DE LA APLICACION ![]() NO SE SI ME HICE ENTENDER ![]() MUCHAS GRACIAS POR SU AYUDA ![]() |
| |||
![]() ![]() ![]() ![]() |
| ||||
Hola, por que no pones la estrutura de tablas (mas o menos) que tienes (con sus campos), y pones tambien alguna de las consultas que quieres realizar? De esta manera te podremos ayudar mejor... un saludo ![]()
__________________ If you think fuck is funny, fuck yourself and save your money, espero que entendais la moraleja... je, je, je |