salve a tutti è da poco che iniziato ad imparare il php in questo momento mi sto esercitando su dei semplici form che fanno apparire quello che si scrive dentro ai text su una pagina php
//nome pagine "prova.htm"
<html>
<head>
<title>ciao</title>
</head>
<body bgcolor="blue" text="white">
<form action="prova.php" method="post">
io mi chiamo
<input type="text" name="nome">
cognome
<input type="text" name="cognome">
<input type="submit" name="cliccami" value="accetta">
</form>
</body>
</html>
//nome pagina" prova.php"
<html>
<head>
<title>nome</title>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<?php $nome = $_post['nome'];
print "ciao $nome"; ?>
<?php $cognome = $post["cognome"];
print $cognome; ?>
</body>
</html>

Rispondi quotando
