-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

* On 12-01-02 at 10:54 
* Kunal Jhunjhunwala said....

> Hi,
> Here is an example form field:
> 
> Forgot Password Subject: <INPUT TYPE="TEXT" NAME="fname" SIZE="10"
> VALUE="kunal">
> 
> Now, I want my php script or get the field name, that is fname, and whatever
> the user entered, in this case kunal. I can easiuly get kunal by echoing
> $fname. But, how do i get what $fname is called :) I dunno how to explain. I
> want the field to get the field name automatically.

You probably want to have a look at the $HTTP_POST_VARS (I think that's
it) array. See the manual under variables.

HTH
- -- 

Nick Wilson

Tel:    +45 3325 0688
Fax:    +45 3325 0677
Web:    www.explodingnet.com



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8QAk1HpvrrTa6L5oRAqfdAJ95ZALl/nmXRfNMo+pJxEsfElTPZACfSCa6
1j+W0FkdxLMYpwdeCGKkH0w=
=CXzK
-----END PGP SIGNATURE-----

-- 
PHP General 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