RE: [PHP] Hello $variable, whats your name?
| From: | Jerry Lake | Date: | Thu, 22 Mar 2001 23:57:59 +0000 |
| Subject: | RE: [PHP] Hello $variable, whats your name? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-45216@lists.php.net to get a copy of this message | ||
$HTTP_POST_VARS
Jerry Lake - jerryl@europa.com
Web Designer
Europa Communications - http://www.europa.com
Pacifier Online - http://www.pacifier.com
-----Original Message-----
From: JCampbell [mailto:jcampbell@programmer.net]
Sent: Tuesday, December 12, 2000 4:06 PM
To: Main PHP List
Subject: [PHP] Hello $variable, whats your name?
I would like to know if there is a way to determine the name of a variable.
Example:
I have the variable $firstname, with a value of Jon
I want to be able to
echo name_of_variable : value_of_variable;
So the user would see
firstname : Jon
I want to be able to do this without knowing what variables will be passed
to the PHP script in advance.
Any help is appreciated in advance.
<Jon>
===============================
And shepards we shall be
For thee, my lord, for thee
For thou hath descended forth from thy hands
That our feats may swiftly carry out thy command
We will flow a river forth unto thee
And teaming with souls shall it ever be...
===============================
http://jcampbell.blacklightning.net
--
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