Get a variable from a variable.
| From: | Fabian Fabela | Date: | Thu, 15 Feb 2001 09:57:58 +0000 |
| Subject: | Get a variable from a variable. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-39865@lists.php.net to get a copy of this message | ||
Hello,
In $a I have the name of the array that I want to use.
For example.
$a="myarray";
I need to send
myFunction($myarray);
if I try myArray($a); the string "myarray" is sent, and I want to send $myarray that is
the text in $a.
Thank you.
Fabian Fabela
fabian@vacagorda.com
www.vacagorda.com