Re: name and value tags in a form
| From: | Kunal Jhunjhunwala | Date: | Sat, 12 Jan 2002 09:51:00 +0000 |
| Subject: | Re: name and value tags in a form | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-80275@lists.php.net to get a copy of this message | ||
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" <nick@explodingnet.com>
To: "php-list" <php-general@lists.php.net>
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: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
>