It's A Very Simple Script!
<?php if (isset($_POST['post'])) { $post = $_POST['post'] ; if ($_POST['submit']) { if (!empty ($post)) { echo $post.'<br>' ; } else { echo 'Please Type In Something!' ; } } } ?> <form action="" method="POST"> <input type="text" name="post"> <input type="submit" name="submit" value="Post"> </form>When I type something and post...it is echoed out and when I type something else and post the previous text goes away!
What I want is...when someone post something, it should be echoed out and when that person post something again! the old post should stay there and the new post should come above it.
Thanks!