Menu
Hi Guys,
I’m wanting to add data to this textarea then go to another page or log on at a later date and add more data to it. But on refreshing or reloading the page, the data (text) disappears.
I copied the below code from a tutorial and thought that it would do the job.
I’m using php 4.3.9
Any help would be appreciated.
[code=php]<form action=”<?php $_SERVER[‘PHP_SELF’]; ?>” method=”post”>
<textarea name=”jammplantext” cols=”50″ rows=”35″><?php if(isset($_POST[‘jammplantext’])) echo $_POST[‘jammplantext’]; ?></textarea>
<input type=”submit” name=”submit” value=”Submit Changes”>
</form>