i have a textbox and a button,like this:
<form method='post' action=<?php echo $_SERVER["PHP_SELF"]; ?> >
<input type='text' name='write'>
</input>
<input type='submit' name='push'>
</input>
</form>
, and i want that everytime that i push the button the content to be listed on the page without the previous content being lost. I know that something like:
<?php
if(isset($_POST['push']))
if($_POST['push']) echo $_POST['write']."<br/>";
?>
would be useless because it would erase the previous text, but how can i get it done?
cheers