Ver Mensaje Individual
  #5 (permalink)  
Antiguo 11/02/2005, 00:51
Goku00_1
 
Fecha de Ingreso: noviembre-2004
Mensajes: 68
Antigüedad: 19 años, 5 meses
Puntos: 0
`podrias hacer lo siguiente sin buscar :P

Código PHP:
<?
include("conx.php");
if(!
$id){
$sql=mysql_query("select * from descargas");
while(
$row=mysql_fetch_array($sql)){
?>
Titulo: <?=$row[titulo]?>  |   <a href="descargar.php?id=<?=$row[id]?>"> <br>
<?
} }
if(
$id){
$sql=mysql_query("select * from descargas where id='$id'");
$row=mysql_fetch_array($sql);
header("Location: $row[descargar]");
}
?>
aunque siempre es bueno de buscar antes de preguntar