That's more complicated than I can get, I don't have MySQL on this server, so I was thinking of using flat files - txt files. Here's what I've found and gathered, but it doesn't work (doesn't place the text in the text field for starters) and I'm not sure if it will update the text file that it is loading.
<title>Edit content</title>
<head>
</head>
<body>
<?
$real_path = realpath ("/home/wwwciva/public_html/text/");
if ($save) {
$fp = fopen("news.txt", "w");
fwrite($fp, $textfield);
fclose($fp);
}
?>
<form action="<?php echo $PHP_SELF ?>" method="post">
Edit Text here<br><textarea name="textfield" rows="10" cols="50" wrap="virtual">
<?php
echo $textfield;
?>
</textarea><br>
<input type="submit" name="save" value=":: submit">
</form>
<br><br><a href="post.php">See It.</a>
</body>
Maybe this will help? I've looked all over for correct coding but not sure what to use when, where, how, etc. Any help is appreciated!