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!
post buttons
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Form
View previous topic :: View next topic  
Author Message
babycoreascloud1



Joined: 28 Oct 2004
Posts: 1
Location: upstate ny

PostPosted: Thu Oct 28, 2004 8:32 pm     post buttons Reply with quote

how do you create a post button that auto post comments or something right on the page. i need the html.
Buck



Joined: 27 Oct 2004
Posts: 2

PostPosted: Thu Oct 28, 2004 11:19 pm     Reply with quote

use a hidden input field :
Code:
<form ...>
  <input type="hidden" name="comment" value="my comment here" />
  <input type="text" name="edit1" />
  <input type="submit" value="Go ahead">
</form>

The 'comment' field will be posted just like the 'edit1' field and you can get it with a $_POST["comment"]

Buck
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Form 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