Ver Mensaje Individual
  #8 (permalink)  
Antiguo 14/10/2010, 10:37
Avatar de rickyper
rickyper
 
Fecha de Ingreso: abril-2009
Mensajes: 182
Antigüedad: 15 años
Puntos: 10
Respuesta: Imprimir datos y agrupar por relacion

Código PHP:
Ver original
  1. $query = "SELECT po.titulo, re.mensaje FROM postmadre po,respuestas re where po.id = re.identificador GROUP BY po.titulo";
  2. $result = mysql_query($query) or die(mysql_error());
__________________
www.granideamillonaria.com