I am not sure you can do it way, here is what i suggest

test2.php?org[index-A]=<?php $org['index-A'] ?>&org[index-B]=<?php
$org['index-B'] ?>......


you need to specify each var in you array in the query path.


Danielle Van Gladbach <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
>
> I am trying to send an array from one php to another:
>
> $org["index-A"]=17010000;
> $org["index-B"]=12090000;
>
> print "<a href=\"test2.php?org=".$org."\">test2</a><BR>\n";
>
> But if I try to read te array in test2.php, I get "Warning: Variable
> passed to each() is not an array ".
>
> Can anyone help me????
> Danielle
>
>



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

Reply via email to