Ver Mensaje Individual
  #1 (permalink)  
Antiguo 30/05/2003, 12:56
ricm
 
Fecha de Ingreso: mayo-2003
Mensajes: 1
Antigüedad: 21 años
Puntos: 0
ordenar datos de sql con php

hola, tengo un problema, necesito hacer una forma de ordenas los datos obtenidos de la base de datos atraves de los link del final de la pagina, pero no se como, quien me podria ayudar porfavor

la pagina es http://ricmtk.webcindario.com/webhosting1.php

y el codigo de fuente es este:


<?php require_once('miarroba.php'); ?>
<?
mysql_select_db($database_conn, $conn);
$query_Recordset2 = "SELECT * FROM wh";
$Recordset2 = mysql_query($query_Recordset2, $conn) or die(mysql_error());
$row_Recordset2 = mysql_fetch_assoc($Recordset2);
$totalRows_Recordset2 = mysql_num_rows($Recordset2);
?>


<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>

<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body bgcolor="#000000" text="#00FF00" link="#00FF00" vlink="#00FF00">
<table width="100%" border="1" cellspacing="1" bordercolor="#666666">
<tr align="center" background="a.jpg">
<td><font color="#000000">Nombre</font></td>
<td><font color="#000000">espacio</font></td>
<td><font color="#000000">sql</font></td>
<td><font color="#000000">php</font></td>
<td><font color="#000000">cgi</font></td>
<td><font color="#000000">publicidad</font></td>
<td><font color="#000000">ftp</font></td>
</tr>
<?php do { ?>
<tr>
<td><?php echo $row_Recordset2['nombre']; ?></td>
<td><?php echo $row_Recordset2['megas']; ?></td>
<td><?php echo $row_Recordset2['sql']; ?></td>
<td><?php echo $row_Recordset2['php']; ?></td>
<td><?php echo $row_Recordset2['cgi']; ?></td>
<td><?php echo $row_Recordset2['publicidad']; ?></td>
<td><?php echo $row_Recordset2['ftp']; ?></td>
</tr>
<?php } while ($row_Recordset2 = mysql_fetch_assoc($Recordset2)); ?>
</table>
</body>
</html>
<?php

mysql_free_result($Recordset2);


?>



porfa ayudenme :D eske llevo artyo tiempo con el problem y no cahco como arreglarlo