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.

Regards,
Kunal Jhunjhunwala
----- Original Message -----
From: "Nick Wilson" <[EMAIL PROTECTED]>
To: "php-list" <[EMAIL PROTECTED]>
Sent: Saturday, January 12, 2002 3:15 PM
Subject: Re: [PHP] name and value tags in a form


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> * On 12-01-02 at 10:18
> * Kunal Jhunjhunwala said....
>
> > Hey,
> > Is there any way one can get the name tags for a form?? other then
> > explicitly defining the tags in an array or any such thing. I just want
to
> > be able to get the name tags and there values dynamically...
> > Regards,
> > Kunal Jhunjhunwala
> - --
>
> Can you give an example of what you want, your message is a little hard
> to visualize :)
>
>
> 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
>
> iD8DBQE8QAW1HpvrrTa6L5oRAiNnAJoCE97Luc/3gLREt+cSVge7SDRdOQCfU8bS
> 3QZ+uPRtiTp1ZPRwj2ovnrA=
> =3PVM
> -----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]
>
>
>


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