 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
dragonking1791
Joined: 09 Apr 2008 Posts: 4
|
Posted: Wed Apr 09, 2008 11:15 pm i need help asap |
|
|
|
i am making a webpage and i want to put a comment page up i have a link to it. i have a comment box on there but when i put in a comment it does not save here is my code
<html>
<head>
<title>Thanks for your comments.</title>
</head>
<body>
<?php
$name = $_POST['name'];
$comment = $_POST['comment'];
$textarea = $name." ".$comment.$textarea;
?>
<form action="comments.php" method="post">
<center>
<table>
<tr>
<th colspan="2">Please enter your name and leave a comment about our song.</th>
</tr>
<tr>
<td><b>Name:</b></td>
<td><input type="text" name="name" width="5" height="5" wrap="on"></td>
</tr>
<tr>
<td><b>Comments:</b></td>
<td><input type="text" name="comment" wrap="on" overflow="true"></td>
</tr>
<tr>
<td align="center" colspan="2"><input type="submit" value="Submit Comment">
</tr>
</table>
</form>
<p>
<p>
<textarea name="textarea" cols="50" rows="20" wrap="on" readonly="true">
<?php
echo $name.': ';
echo $comment;
?>
</textarea>
</body>
</html>
wut do i do plz help me |
|
Corey Bryant Site Admin

Joined: 15 May 2004 Posts: 8315 Location: Castle Pines North, CO USA
|
Posted: Thu Apr 10, 2008 11:57 am |
|
|
|
Asking your Question might help you get help faster. Very generic subjects usually are passed over until other questions have been answered.
Anyway, what are you doing with this form? Is it some type of Flash you are working with (since you posted in the Multimedia forum)?
Otherwise, do you have a database set up to capture the data and then do you have the code to display the data? It seems like you are working with PHP code? WebForumz might be able to help you with your PHP code.
_________________
Corey
Toll Free Solutions | Mile High Merchant Accounts | Expression Web Blog |
|
dragonking1791
Joined: 09 Apr 2008 Posts: 4
|
Posted: Thu Apr 10, 2008 6:40 pm |
|
|
|
Otherwise, do you have a database set up to capture the data and then do you have the code to display the data? It seems like you are working with PHP code? WebForumz might be able to help you with your PHP code.
how do i do that? |
|
Corey Bryant Site Admin

Joined: 15 May 2004 Posts: 8315 Location: Castle Pines North, CO USA
|
|
dragonking1791
Joined: 09 Apr 2008 Posts: 4
|
Posted: Fri Apr 11, 2008 4:20 pm |
|
|
|
do you have a database set up to capture the data and then do you have the code to display the data?
how do i set up a database to capture the data. this is my first website. |
|
dragonking1791
Joined: 09 Apr 2008 Posts: 4
|
|
Corey Bryant Site Admin

Joined: 15 May 2004 Posts: 8315 Location: Castle Pines North, CO USA
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|
|
 |
|
|
|
|
|
|
|