two possibilities: 
- put your array in a form with hidden fields
- use sessions

I would prefer the second option (check manual for sessions)

Greets,

Edward


----- Original Message ----- 
From: "Hirono Tanaka" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 11, 2002 10:33 AM
Subject: [PHP] passing array to another php file


> Hi, does anyone know how to pass an array to different php file?
> 
> Let's assume I have an array $array[] in sample1.php.  I want to pass the
> array to a different php files by doing something like:
> 
>   <a href=\"sample2.php?array=".$array[]."\">...</a>
> 
> This didn't work actually.  I can't think of any other wayto do this.
> Please help.  Thanks.
> 
> 
> 
> _________________________________________________________________
> Chat with friends online, try MSN Messenger: http://messenger.msn.com
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to