Re: [PHP] Get a variable from a variable.

2001-02-15 Thread Jason Stechschulte
On Thu, Feb 15, 2001 at 03:57:58AM -0600, Fabian Fabela wrote: > $a="myarray"; > myFunction($myarray); > if I try myArray($a); the string "myarray" is sent, and I > want to send $myarray that is the text in $a. You were pretty close. I think you want to try this: myFunction($$a); It is a vari

[PHP] Get a variable from a variable.

2001-02-15 Thread Fabian Fabela
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 [EMAIL PROTECTED] www.vacagorda.