HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
i need help asap
Post new topic   Reply to topic    HTML Help Forum Index -> Multimedia
View previous topic :: View next topic  
Author Message
dragonking1791



Joined: 09 Apr 2008
Posts: 4

PostPosted: Wed Apr 09, 2008 11:15 pm     i need help asap Reply with quote

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

PostPosted: Thu Apr 10, 2008 11:57 am     Reply with quote



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

PostPosted: Thu Apr 10, 2008 6:40 pm     Reply with quote

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

PostPosted: Fri Apr 11, 2008 7:29 am     Reply with quote

How do you do what? I asked you if you were using PHP / mysql or how were you processing the form?

_________________
Corey
Toll Free Phone Numbers | Processing Credit Cards | Microsoft Expression Web Blog
dragonking1791



Joined: 09 Apr 2008
Posts: 4

PostPosted: Fri Apr 11, 2008 4:20 pm     Reply with quote

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

PostPosted: Fri Apr 11, 2008 4:21 pm     Reply with quote

http://top20gamesofthemonth.freewebspace.com/Top20GamesofTheMonth.html this is my website look at the commentes page.
Corey Bryant
Site Admin


Joined: 15 May 2004
Posts: 8315
Location: Castle Pines North, CO USA

PostPosted: Sat Apr 12, 2008 7:06 am     Reply with quote

To set up a database, you first contact your hosting company to see what databases they support.

Then you need to know a server side language to communicate with that database.

_________________
Corey
Toll Free Phone Numbers | Processing Credit Cards | Microsoft Expression Web Blog
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> Multimedia All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
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
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial