ragazzi...salve a tutti-...
premetto che ho qualche conoscenza in html ma poco in php.
cmq so che le variebili in php nn vanno definite a monte.
allora scrivendo due file del genere xchè mi dice che nn sono definite le variabili??
<html>
<head>
<title>prova</title>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<form action="stampe.php" method=post>
Io mi chiamo:
<input type="text" name="tichiami">
, <input type="text" name="cognome">
<input type="submit" name="submit" value="Accetta i miei dati!">
</form>
</body>
</html>
e il file stampe.php:
<html>
<head>
<title>ciaoo!!</title>
</head>
<body bgcolor="#FFFFFF" text="#000000">
Ciao <?php print $tichiami; ?>
<?php print $cognome; ?>
</body>
</html>