RE: [PHP-DB] Javascript and PHP
| From: | Rick Emery | Date: | Wed, 14 Mar 2001 19:59:17 +0000 |
| Subject: | RE: [PHP-DB] Javascript and PHP | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-7480@lists.php.net to get a copy of this message | ||
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:vivekmisra@bigfoot.com]
Sent: Tuesday, March 13, 2001 12:40 PM
To: php-db@lists.php.net
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: php-db-unsubscribe@lists.php.net
For additional commands, e-mail: php-db-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net