Ver Mensaje Individual
  #2 (permalink)  
Antiguo 13/10/2009, 11:16
filmixt
 
Fecha de Ingreso: septiembre-2008
Mensajes: 91
Antigüedad: 15 años, 7 meses
Puntos: 1
Respuesta: Seleccionar 3 tablas

Ya esta resuelto, solo hace falta echarle imaginacion :P

mysql_query("SELECT friendship.* , miembros.*, noticias.* from friendship,miembros,noticias where ( (friendship.admite=$myid && friendship.pide=miembros.id) || (friendship.admite=miembros.id && friendship.pide=$myid) )");

$myid es la id del usuario.
Un saludo.