Ver Mensaje Individual
  #37 (permalink)  
Antiguo 12/10/2007, 11:22
Avatar de ferbux
ferbux
 
Fecha de Ingreso: mayo-2007
Ubicación: por ahí intentado ayudar
Mensajes: 823
Antigüedad: 17 años
Puntos: 6
Re: ubicacion por lista

mmmmm, a ver pon esto:

Código:
$sql = "SELECT DISTINCT PO.DV, TP.TP_IDENPOST, PO.NOMBRES, PO.PATERNO, PO.MATERNO, PO.EDADACTUAL, PO.NCURREP, PO.TIENEPATROCINIO, PO.E_COD, PO.SITFLIAR, PO.NUMGRUPO, PO.PROMCAST7, PO.PROMMAT7, PO.PROMCAST8 , PROMMAT8 , TP.TP_PTJEEDAD, TP.TP_PTJECURREP, TP.TP_PPC7, TP.TP_PPM7, TP.TP_PPC8, TP.TP_PPM8, TP.TP_PPC7POR, TP.TP_PPM7POR, TP.TP_PPC8POR, TP.TP_PPM8POR, TP.TP_AB, TP.TP_PTPS, TP.TP_PPS, TS.TS_TRES, TS.TS_TRMA, TS.TS_TRVE, TS.TS_TRME, TS.TS_N, TS.TS_PTS, TS.TS_PS FROM TEST_PRESELECCION22 AS TP, POSTULANTE AS PO, TEST_SELECCION AS TS WHERE ((TP.TP_IDENPOST=PO.RUT) AND (TS.TS_IDENTPOST=PO.RUT)) ORDER BY TS.TS_PS DESC LIMIT $Limit_Post"; 
$query = @mysql_query($sql, $dblink); 

despues de ejecutar tu consulta pones esto:
$row=mysql_fetch_array($query):
print_r($row);
$ar=array():
$ar=asort($row):
print_r($ar):
en el print_r($row) te debe de imprimir lo ke obtienes de tu consulta
__________________
"Eres grande por que caminas entre gigantes"