Ver Mensaje Individual
  #4 (permalink)  
Antiguo 25/06/2011, 14:06
Avatar de Aaronus23
Aaronus23
 
Fecha de Ingreso: diciembre-2010
Ubicación: https://home
Mensajes: 81
Antigüedad: 13 años, 4 meses
Puntos: 4
Respuesta: Problemas de principiante

Código PHP:
<?php
$variable
"Bienvenido a Link Studios\n";
//Comentario XD
echo "Accede a la web <br>";
echo 
$variable;
echo 
"<BR>";

if(
$enviar){

echo 
"Hola"$user "<br>\n";}
else {
    echo 
'
    <form action="$_SERVER["PHP_SELF"] " method="post">
<input type = "text" name ="user" />
<input type = "submit" value="Submit" name="enviar"/>
</form>'
;
    }
?>
simplemente te faltaron unas comillas en el echo :P