? , PHP- -. HTML, , , PHP .
PHP, HTML. , , , PHP , . :
send.php
<?php
session_start();
?>
<html>
<head>
<title>Session</title>
</head>
<body>
<?php
if ( IsSet( $_SESSION[ "message_sent" ] ) )
{ echo "Your message was sent.";
unset( $_SESSION[ "message_sent" ] );
}
?>
<form method="post" action="email.php">
Enter message
<input type="text" name="anything" />
<input type="submit" value="Send email" />
</form>
</body>
</html>
email.php
<?php
session_start();
$_SESSION[ "message_sent" ] = "message sent";
header( "Location: send.php" );
?>
, send.php . . , , , PHP , .
, .