Iniciante
Estou iniciando e ao fazer um teste apareceu o seguinte erro: Notice: Undefined variable: texto in C:\PHP\php\teste.php on line 6o prog é este:<html><head><title>Aprendendo PHP</title></head><body><?$texto= $_post['texto'];?><?if ($texto != "")echo "Você digitou \"$texto\"<br><br>";?><form method=post action="<? echo $PATH_INFO; ?>"><input type="text" name="texto" value="" size=10><br><input type="submit" name="sub" value="Enviar!"></form></body></html>Obrigado,MarcosDiscussão (2)
Carregando comentários...