Ver Mensaje Individual
  #2 (permalink)  
Antiguo 28/02/2006, 17:55
Avatar de jmn2k1
jmn2k1
 
Fecha de Ingreso: noviembre-2001
Ubicación: Buenos Aires...
Mensajes: 489
Antigüedad: 22 años, 6 meses
Puntos: 2
No tiene que haber espacios en el tag de cierre...

deberias probar con:

Código PHP:
<?php
if($_POST['my_name'])
{
       print 
"Hola, $_POST['my_name']";
}
else
{
print<<<_HTML_
      <form method="POST" action="$_SERVER[PHP_SELF]" >
      Your name:<input type="text" name="my_name">
      <br/>
      <input type="submit" name="Hello!">
      </form>
_HTML_; 
}
?>
Si necesitas mas informacion busca por "sintaxis Here Doc" en google o en el manual de php...

Saludos!
__________________
JmN