a) no idea what you mean
b and c) are almost the same and that is what I want.
OK - b and c are very different.
b) an insert script uses a MySQL insert statement that puts data
into the database - i.e. when a user physically enters text into a form field and the php puts that into a table.
For instance
<body>
<form>
<input name="datecreatedfield" type="hidden" id="datecreatedfield" value="<?php echo time();?>" />
<input name="commentfield" type="text" id="commentfield" />
<input type="submit" name="button" id="button" value="Submit" />
</form>
</body>
blah blah...
MySQL statement "INSERT INTO COMMENTTABLE (DATECREATED, COMMENT) VALUES ($_POST['datecreatedfield'], $_POST['commentfield'])"
c) a result script returns value
from the database (e.g. in the form of a recordset that can then be displayed on your page using "echo"
For instance
MySQL statement "SELECT DATECREATED, COMMENT, FROM COMMENTTABLE
ORDER BY DATECREATED"
<?php
echo $row_recordsetcomments['DATECREATED'];
echo $row_recordsetcomments['COMMENT'];
?>
A "comment" box is a very generic statement that could describe either.
You can have different forms for
inserting into the database (i.e. looks different but does the same function) or different tables (repeating or otherwise) to
show those inserted comments
after they have been entered.
I have lots of versions of both on my site. - Take a look and let me know which page you think is like the one that you want. (Log in with "Demo" as username and "Password" as password.)
Without fully understanding what you want, I can't help you.