Function call within an associative array
Posted: Fri May 09, 2003 8:39 am
Hi,
I would really appreciate it if someone could help me with this.
Here's an example of what my code looks like:
I need to be able to call "function" with "a" and "b" as arguements. Since "a" and "b" are in the array, can this be done? If so, what is the proper syntax? If not, how would I go about doing this?
Thanks in advance
I would really appreciate it if someone could help me with this.
Here's an example of what my code looks like:
Code: Select all
$array = array(
"a" => $rowї1],
"b" => $rowї2],
"c" => function($a,$b),
);Thanks in advance