Ver Mensaje Individual
  #22 (permalink)  
Antiguo 05/03/2013, 23:23
Avatar de T4ke0veR
T4ke0veR
 
Fecha de Ingreso: agosto-2007
Ubicación: Quito - Ecuador
Mensajes: 1.720
Antigüedad: 16 años, 8 meses
Puntos: 28
Respuesta: Consulta multiple para buscador

ummmm ya te entiendo para que se usa el Join... es como q por ejemplo.. id_hotel = id_pecuaria ... se relacionan de alguna manera ... Ahora bien... mis tablas no se relacionan...

cada una es una tabla donde se guardan datos d un directorio comercial.. lo q yo deseo hacer es enviando un POST mediante un formulario es extraer dichos datos...

ahora lo que me pide es ...

Código:
CREATE TABLE `emergencias` 
(  `id` int(11) NOT NULL AUTO_INCREMENT,  
`id_cat` int(11) NOT NULL, 
 `titulo` text NOT NULL,  
`descripcion` text NOT NULL,  
`contactos` text NOT NULL,  
`adicional` text NOT NULL,  
`img` text NOT NULL,  PRIMARY KEY (`id`)) ENGINE=InnoDB AUTO_INCREMENT=51 DEFAULT CHARSET=latin1

CREATE TABLE `hoteles` (  
`id` int(11) NOT NULL AUTO_INCREMENT,  
`id_cat` int(11) NOT NULL,  
`titulo` text NOT NULL,  
`descripcion` text NOT NULL,  
`contactos` text NOT NULL,  
`adicional` text NOT NULL,  
`img` text NOT NULL,  
PRIMARY KEY (`id`),  FULLTEXT KEY `descripcion` (`descripcion`)) ENGINE=MyISAM AUTO_INCREMENT=92 DEFAULT CHARSET=latin1
SOlo hoteles es MyISAM
__________________
Diseño gráfico, Web, imagen corporativa, publicidad ...