Ver Mensaje Individual
  #2 (permalink)  
Antiguo 02/05/2004, 12:12
Avatar de Reynier
Reynier
 
Fecha de Ingreso: noviembre-2002
Ubicación: Por ahí en algún sitio
Mensajes: 1.844
Antigüedad: 21 años, 5 meses
Puntos: 1
El valor está

La variable tiene su valor, lo que pasa es que no la estás imprimiendo:
Código PHP:
<html> 
<head> 
<title>Ejemplo de PHP</title> 
</head> 
<body> 
<?php 
   
echo "Parte de PHP<br>"
    for(
$i=0;$i<10;$i++) 
   { 
   
?>
      Linea  <?php echo $i?> <br> 
   <?php }?> 
</body> 
</html>
Salu2
__________________
Ing. Reynier Pérez Mira