Forum     

Go Back   Digit Technology Discussion Forum > Software > Programming
Register FAQ Calendar Mark Forums Read

Programming The destination for developers - C, C++, Java, Python and the lot


Reply
 
LinkBack Thread Tools Display Modes
Old 27-07-2011, 09:18 PM   #1 (permalink)
Racing 24X7
 
NitrousNavneet's Avatar
 
Join Date: Apr 2011
Location: Indore (M.P.)
Posts: 244
Question How do The text box Work.


What is the html coding behind the textbox.
I mean,
When we write in text box to do post,
we need to press the button " Post Quick reply".
and the page reloads , and we sees our text on the page.
how that button work.

What is
<html>
<head>......
and blaaa blaaa
Behind it?
__________________
"Those Who Are Afraid OF Falling Will Never BE Able To Fly"
>>Intel dual core 2.20 GHz
>>Asus P5GC-MX/1333
>>2Gb Ram
>>500Gb Seagate
>>Asus Eah4350 Silent Graphics Card
>>Windows 7 ultimate X64

Please
Help
NitrousNavneet is offline   Reply With Quote
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 27-07-2011, 10:00 PM   #2 (permalink)
Simply a DIGITian
 
krishnandu.sarkar's Avatar
 
Join Date: Nov 2007
Location: Kolkata
Posts: 2,942
Default Re: How do The text box Work.

Well, in simple words, it does the same as Submit(actually it's a submit button), which has a PHP(in this case) code to add the content to database and a Ajax is there for which the portion of the page is refreshed and you are able to view the content at the very moment without refreshing the whole page.
__________________
  • Read The Forum RULES First.
  • Before PM'ing Or Asking Any Questions To Any Mod Read The FAQ's
  • Before Starting A New Thread Read The STICKY THREADS First
  • Before Participating In Bazaar Section Read The BAZAAR RULES
krishnandu.sarkar is online now   Reply With Quote
Old 28-07-2011, 12:22 PM   #3 (permalink)
Fullbring
 
Zangetsu's Avatar
 
Join Date: Jan 2008
Location: Soul Society
Posts: 5,523
Default Re: How do The text box Work.

@NitrousNavneet: this is html,php & ajax programming...
__________________
I'm the One you've been Waiting for...
Zangetsu is offline   Reply With Quote
Old 28-07-2011, 04:00 PM   #4 (permalink)
Racing 24X7
 
NitrousNavneet's Avatar
 
Join Date: Apr 2011
Location: Indore (M.P.)
Posts: 244
Default Re: How do The text box Work.

It is my coding

<html>
<head>
<title>
The Keshav Vidyapeeth Forum.
</title>
<BODY BGCOLOR="#333333" BACKGROUND="image.gif">

<font color = "blue" Size = 57 >

Welcome to KVP Forum
</Font>
<pre>






<textarea rows="10" cols="30"> </textarea>
<button>submit
</button>

</body>
</html>

I want my button (submit) work as 'post quick reply'.
__________________
"Those Who Are Afraid OF Falling Will Never BE Able To Fly"
>>Intel dual core 2.20 GHz
>>Asus P5GC-MX/1333
>>2Gb Ram
>>500Gb Seagate
>>Asus Eah4350 Silent Graphics Card
>>Windows 7 ultimate X64

Please
Help
NitrousNavneet is offline   Reply With Quote
Old 28-07-2011, 04:12 PM   #5 (permalink)
Fullbring
 
Zangetsu's Avatar
 
Join Date: Jan 2008
Location: Soul Society
Posts: 5,523
Default Re: How do The text box Work.

^I dont know php...in which programing language u want to post the reply.
__________________
I'm the One you've been Waiting for...
Zangetsu is offline   Reply With Quote
Old 28-07-2011, 04:23 PM   #6 (permalink)
Alpha Geek
 
Join Date: Feb 2004
Posts: 687
Default Re: How do The text box Work.

Well, you are confused how a form fields are handled.

In simple words, when you press submit button, then all fields in that form are submitted in a kind of ARRAY to file / script which is supposed to process it .

Example:
<form name="input" action="html_form_action.php" method="get">
Username: <input type="text" name="user" />
<input type="submit" value="Submit" />
</form>

Here on processing, form name "input" will have value in user="whatever given in box" . Now that script ie. html_form_action.php is supposed to take these values in array and do whatever it wants.. like saving it to database or may be finding something for that user.

To know more, learn language like ASP or PHP or JSP or Coldfusion etc...
__________________
~Ricky

» Looking for someone to partner with me in Indian Linux forum
Free domain is available ! I am also at Indian Forums.
Ricky is offline   Reply With Quote
Old 28-07-2011, 04:48 PM   #7 (permalink)
Racing 24X7
 
NitrousNavneet's Avatar
 
Join Date: Apr 2011
Location: Indore (M.P.)
Posts: 244
Default Re: How do The text box Work.

I want my text box work as this -




After Pressing the button

__________________
"Those Who Are Afraid OF Falling Will Never BE Able To Fly"
>>Intel dual core 2.20 GHz
>>Asus P5GC-MX/1333
>>2Gb Ram
>>500Gb Seagate
>>Asus Eah4350 Silent Graphics Card
>>Windows 7 ultimate X64

Please
Help
NitrousNavneet is offline   Reply With Quote
Old 28-07-2011, 05:48 PM   #8 (permalink)
Fullbring
 
Zangetsu's Avatar
 
Join Date: Jan 2008
Location: Soul Society
Posts: 5,523
Default Re: How do The text box Work.

^u have to use php + ajax
__________________
I'm the One you've been Waiting for...
Zangetsu is offline   Reply With Quote
Old 28-07-2011, 05:53 PM   #9 (permalink)
God of Mistakes...
 
Garbage's Avatar
 
Join Date: Dec 2005
Location: Pune, Maharashtra
Posts: 1,923
Default Re: How do The text box Work.

Okay. I think you are not getting what others are suggesting.. Let me put in some questions form.

1) Do you have PHP enabled server?
2) Do you know how to write PHP script?
3) Do you know HTML?

If no, then please go and read some HTML first, then start with PHP programming. Get a webserver hosting. In case you want to test it in local, you can use XAMPP.

I hope this helps.
__________________
Registered Linux User #468778
----------------------------------
http://twitter.com/_Garbage_
Garbage is offline   Reply With Quote
Old 28-07-2011, 07:24 PM   #10 (permalink)
Racing 24X7
 
NitrousNavneet's Avatar
 
Join Date: Apr 2011
Location: Indore (M.P.)
Posts: 244
Default Re: How do The text box Work.

Quote:
Originally Posted by Garbage View Post
Okay. I think you are not getting what others are suggesting.. Let me put in some questions form.

1) Do you have PHP enabled server?
2) Do you know how to write PHP script?
3) Do you know HTML?

If no, then please go and read some HTML first, then start with PHP programming. Get a webserver hosting. In case you want to test it in local, you can use XAMPP.

I hope this helps.
I only know about html.
__________________
"Those Who Are Afraid OF Falling Will Never BE Able To Fly"
>>Intel dual core 2.20 GHz
>>Asus P5GC-MX/1333
>>2Gb Ram
>>500Gb Seagate
>>Asus Eah4350 Silent Graphics Card
>>Windows 7 ultimate X64

Please
Help
NitrousNavneet is offline   Reply With Quote
Old 28-07-2011, 08:17 PM   #11 (permalink)
Simply a DIGITian
 
krishnandu.sarkar's Avatar
 
Join Date: Nov 2007
Location: Kolkata
Posts: 2,942
Default Re: How do The text box Work.

You need to learn any of the server side language and Ajax. Not necessary PHP, but as I guess we love PHP more than others we are suggesting to learn PHP.
__________________
  • Read The Forum RULES First.
  • Before PM'ing Or Asking Any Questions To Any Mod Read The FAQ's
  • Before Starting A New Thread Read The STICKY THREADS First
  • Before Participating In Bazaar Section Read The BAZAAR RULES
krishnandu.sarkar is online now   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by Charan
- by Sarath
- by clmlbx

Advertisement




All times are GMT +5.5. The time now is 12:32 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2