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 variable variable.
http://www.php.net/manual/en/language.variables.variable.php

-- 
Jason Stechschulte
[EMAIL PROTECTED]
--
Just don't create a file called -rf.  :-)
             -- Larry Wall in <[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