Re: more detail..passing array_var with $_get

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!
You can't pass array with GET using such method.
For this purpose use
www.main.com?b["foo"]=foo1&b["foofoofoo"]=foo3 etc.

Of course I think you should use urlencode(string);



Monday, April 26, 2004, 1:55:06 PM, Sukanto wrote:

SK> Hi all, sorry for making a little mess up just now..

SK> My problem is I want to pass var array with $_get..

SK> eg : $a=array()  then i pass to other pages www.main.com?b=$a
SK>        after that echo $b
SK>        the result is "array"... just that...

SK> I want to make a product quotation so my purpose is that i add all product 1 by 1 in my local pc 
SK> then just adding to database in server at once...

SK> the best way is using array right?? if i using session then it just the same result....

SK> thanx


-- 
Best regards,
Mikhail U. Petrov
mailto:mikhail@xxxxxxxx

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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux