Posted by Jim Moe on 03/09/06 08:38
wes wrote:
> How do i make an array in php a global array? The code:
> I have tried:
> function display(){
> global $employee_array[0];
> echo $employee_array[0];
> }
> ...still doesnt work. Please help
>
Do not add the [] operator:
global $employee_array;
--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
[Back to original message]
|