RE: [PHP-WIN] passing DD array from one php file to another
| From: | Ignatius Teo | Date: | Wed, 02 Aug 2000 02:27:43 +0000 |
| Subject: | RE: [PHP-WIN] passing DD array from one php file to another | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-1466@lists.php.net to get a copy of this message | ||
It's possible, but may not necessarily be the answer you are looking for.
It depends on how you are calling the second script.
One way to pass an object (including multi-dim arrays) between two scripts is to use the global
variable scope and "include" the second script.
Another is to use serialize.
Ignatius
> -----Original Message-----
> From: Nasir Ali [mailto:nal@mta.ca]
> Sent: Wednesday, 2 August 2000 11:56
> To: php-windows@lists.php.net
> Subject: [PHP-WIN] passing DD array from one php file to another
>
>
> Please someone tell me how to pass a double dimensional array
> from one php
> script (file1.php) to another php script (file2.php). Is it
> possible or
> not. Please do reply.
>
> Thanks,
>
> Nas
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>