Forum Moderators: coopster
Ur file with $name
if (isset($_SESSION['name'])) {Ur actions when u return to this page} else {
?>
<form action="process.php" method="post">
<input name="name" type="text">
</form>
<?}
Process.php
$name=$_POST['name'];
$name+="hi";
$_SESSION['name']=$name;
header("Location: ".$referrer);
What's all i think
Good luck to you