<?php
session_start();
?>
<?php
echo $_SESSION['txt'];
?>
<?php
session_start();
?>
<?php
echo '<form action="#" method="post">
<input type="text" name="txt" />
</form> ';
$_SESSION['txt'] = $_POST['txt'];
?>
session_start();
?>
<?php
echo $_SESSION['txt'];
?>
<?php
session_start();
?>
<?php
echo '<form action="#" method="post">
<input type="text" name="txt" />
</form> ';
$_SESSION['txt'] = $_POST['txt'];
?>
No comments:
Post a Comment