Ver Mensaje Individual
  #2 (permalink)  
Antiguo 31/03/2010, 21:24
Megcapkill
 
Fecha de Ingreso: abril-2007
Ubicación: Tandil, Bs As, Argentina
Mensajes: 106
Antigüedad: 17 años, 10 meses
Puntos: 2
Respuesta: consulta en varias tablas

Código PHP:
mysql_select_db($database_db$db);
$query_edo "SELECT asesores.*, opcion FROM asesores INNER JOIN select_1 ON select1 = id";
$edo mysql_query($query_edo$db) or die(mysql_error());
$row_edo mysql_fetch_assoc($edo);
$totalRows_edo mysql_num_rows($edo); 
Tu consulta parece estar bien, pero por si acaso proba de esta otra forma..

Espero se solucione :) Saludos!!