Assume in HTML file is:

<FORM name="myform" method="post" action="http://my_site.com/do_form.php3">
  <INPUT type="text" name="text1">
</FORM>


Then, in do_form.php3:

<?php
  the_value = $text1;
?>


$text1 refers to the name of the field in the HTML form.  This convention
applies to all fields in the form, including checkboxes, radio buttons,
submit buttons, etc.

-----Original Message-----
From: vivekmisra [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 13, 2001 12:40 PM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] Javascript and PHP 


Morning !!!   experts

Sorry its lil bit  off list question  but u r the experts ....remember !!!!!

Is there nething in php  similar to javascript's following code ??>>:

document.form1.text1.value  =>> ?

so that i can fetch the value of any textbox into php variable [$var]

thx in advance.

Vivek
----------------------------------------------------------------------------
------------
-D-AND GATE -|>O--Complement ?
----------------------------------------------------------------------------
------------

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to