Total members 11366 |It is currently Fri Oct 24, 2014 5:49 pm Login / Join Codemiles

Java

C/C++

PHP

C#

HTML

CSS

ASP

Javascript

JQuery

AJAX

XSD

Python

Matlab

R

All times are UTC [ DST ]



  Get Text Field value by php
Sun Oct 26, 2008 6:39 pm 

Get input text from in php
Code:
<HTML>
<
BODY>
<
FORM METHOD="POST" ACTION="TextFieldValue.php">
    <TABLE>
    
    
<TR>
    <TD ALIGN="RIGHT">Users First Name:</TD>
    <TD><INPUT TYPE="TEXT" NAME="USER"></TD>
    </TR>
    
    
<TR>
    <TD ALIGN="RIGHT">Major City:</TD>
    <TD><INPUT TYPE="TEXT" NAME="CITY"></TD>
    </TR>
    
    
<TR>
    <TD ALIGN="RIGHT">Favorite Ice Cream Flavor:</TD>
    <TD><INPUT TYPE="TEXT" NAME="FLAVOR"></TD>
    </TR>
    
    
<TR>
    <TD ALIGN="RIGHT">Favorite Pop Music Star:</TD>
    <TD><INPUT TYPE="TEXT" NAME="STAR"></TD>
    </TR>
    
    
<TR>
    <TD ALIGN="RIGHT">Name of Famous River:</TD>
    <TD><INPUT TYPE="TEXT" NAME="RIVER"></TD>
    </TR>
    
    
<TR>
    <TD></TD>
    <TD><INPUT TYPE="SUBMIT"></TD>
    </TR>
    
    
</TABLE>
</
FORM>
</
BODY>
</
HTML>
 

Code:

<!-- TextFieldValue.php
<HTML>
<BODY>
<CENTER><?php echo date("l, F j, Y") ?></CENTER>
<HR>
<?php echo $CITY ?>:
<P>
<?php echo $STAR ?>    <br>
<?php echo $FLAVOR ?>  <br>
<?php echo $RIVER ?>   <br>
<?php echo $CITY ?>    <br>
<?php echo $USER ?>    <br>

</BODY>
</HTML>


_________________
Please recommend / share my post if you found it helpful.


Author:
Mastermind
User avatar Posts: 2694
Have thanks: 73 time
Post new topic Reply to topic  [ 1 post ] 

  Related Posts  to : Get Text Field value by php
 MYSQL TEXT field types lengths     -  
 Able to Copy Text from Uneditable Text Boxes(JTextfields)     -  
 Please help me in the form field     -  
 Get field length     -  
 List Database, Table, and Field in php     -  
 How To Store Date Dynamically as a field in mysql using JSP     -  
 Write a program in java which contain a test field and a but     -  
 Java- Copy text area into disabled text area     -  
 Transparent Text     -  
 text like a curve     -  

All times are UTC [ DST ]



Topic Tags

PHP Forms






Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team