allora fai così: crei un file html con i form (tipo questo)



Codice PHP:
<html> <head> <titleform </title> </head>  <body> <form name="form" method="POST" action="file.php"> <table> <tr> <tdNome: <td> <input type="input" name="nome" size="16">  <tr> <tdCognome: <td> <input type="input" name="cognome" size="16">  <tr colspan="2" align="center"> <td> <input type="submit" name="invia" value="VAI!"> <input type="reset" name="annulla" value="ANNULLA!">  </table> </form> </body> </html
poi crei un file (file.php) con lo script (tipo questo):


Codice PHP:

<?php  
$nome 
$_POST['nome']; $cognome $_POST['cognome'];  
//continui lo script es:

echo "il tuo nome è $nome e il tuo cognome è $cognome";  ?>

ciao spero di esserti stato utile (è la prima volta che rispondo su questo forum XD )