Viewing topic:Comment Box
Page: 1
Topic post 19-09-2007 - 21:01
jim (or someone else :P)
Does anyone of you know how to make a comment box? (A)
something like a text area where you can add you comment and that those comments are shown above or below that text area
Topic post 19-09-2007 - 21:06
That a bit more advanced actually. Making the comment box and showing some replies is not that hard in HTML. The problem is PHP, you have to use PHP to read the text from the textbox, and add it to the database. And when the replies are loaded you must read the database and then echo it back to the screen.

I recommend you first learn HTML in total, and then learn PHP. (via me )

HTML part:
code
1
2
3

<form action="location.ext" method="post">
<textarea name="commentbox">Predefined content</textarea>
</form>
 


This is a basic text area used for comment boxes. The form tag opens the form (duh) and uses the action atribute to define the location the form information must be send to. The method can me omitted for the time being. This is mainly neccesary when you learn a language like JavaScript, PHP etc..

Hope this helps you a bit.
Topic post 19-09-2007 - 21:25
hmm i guess i'am just have to finish html first :P
thanks anyway

©Copyrights Combined Minds. All rights reserved 2006 - 2008 : Disclaimer
Realized by www.Minna-Media.com