0

I needed some in making a comment box. I am making a website most of the thing are done, but one important thing I still need to do is add comment box or textarea. I tried in html but looks like i need .php codes and i have no idea. I need to add comment box where users can put comment on my page and also reply to other comments. any help would be great. Thanks

4
Contributors
3
Replies
4
Views
9 Years
Discussion Span
Last Post by death_oclock
0

the textarea is html. just the processing is done by php.

Basically it looks as follows:

comment.html

<form method=post action="process.php">
<textarea name=comment style="..."></textarea>
<input type=submit>
</form>

sends the text in the textarea to "process.php" when user presses the submit-button. Variable is called "comment"


process.php

<?
$comment=$_REQUEST["comment"];
echo $comment;   //save or whatever
?>

PHP fetchs the variable and prints it on the screen. Instead of printing you can send it via email or save it in a db.

-1

hello can yu help me with my assignment???

i need to write a program which produces a simple multiplication tableof the following formatfor integers in range 1 to 9


sample output:

input number: 9
input limit: 9


1x1=1
1x2=2
....
9x9=81

0

Thanks for resurrecting an old thread that has absolutely nothing to do with your problem just to ask for someone to do your bloody homework for you. Thanks for wasting people's time.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.