Ver Mensaje Individual
  #2 (permalink)  
Antiguo 04/10/2003, 18:27
Avatar de lado2mx
lado2mx
Colaborador
 
Fecha de Ingreso: agosto-2001
Ubicación: Veracruz
Mensajes: 3.720
Antigüedad: 22 años, 8 meses
Puntos: 9
Código PHP:
<? $consulta"SELECT * from actualidad ";

$res=mysql_query($consulta) or die ("consulta fallo2"); 
$num=mysql_num_rows($res);






For (
$i=0;$i<$num;$i++)
{
$valor=mysql_result($res,$i,1); 
?>

<?php echo mysql_result($res,$i,1);?></td>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>

<div align="center">
<textarea name=valor value="" cols="70" rows="20"><?php echo nl2br($valor); ?></textarea>
<input type="text" name=valor VALUE="<?php echo $valor;?>" READONLY> 
</div>

</body>
</html>
<?php


}



}



?>
Ya con eso, creo.