[PHP] Re: Passing an array from PHP to Javascript

2008-09-16 Thread Colin Guthrie
dele454 wrote: http://www.nabble.com/file/p19511848/untitled-1.gif N.B : I had to use anchor to replace the 'anchor tag' in the code below because nabble was disallowing it hi, i am not a js guru so pls permit my naiveness. I need the 'delete' button on the highlighted graphic to delete

[PHP] Re: Passing an array as a hidden variable

2007-05-12 Thread itoctopus
hmmm, anyways, to do that you can just join the array using $str_attend_save = implode('|', $attend_ary_save); ? echo 'input type=hidden name=str_attend_save value=' . $str_attend_save .''; ? On your action page, you do this: $attend_ary_save = explode('|', $_POST['str_attend_save']); --

[PHP] Re: Passing the Array as Parameter to either the function or object/class???

2004-10-21 Thread Scott Fletcher
Thanks I wasn't sure if that would work but now I know it does. It is nice to know.. Scott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Passing Serialized Array via Hidden field

2003-07-21 Thread Sam Baum
am Monday 21 July 2003 09:24 schrieb Andrei Verovski: I am need to pass serialized assotiative array via form hidden field (not GET or POST). What does this mean? If you dont use GET or POST your form cant be submitted. In order to do it, I did the following:

Re: [PHP] Re: Passing Serialized Array via Hidden field

2003-07-21 Thread aka MacGuru
On Monday, Jul 21, 2003, at 10:38 Europe/Helsinki, Sam Baum wrote: am Monday 21 July 2003 09:24 schrieb Andrei Verovski: I am need to pass serialized assotiative array via form hidden field (not GET or POST). What does this mean? If you dont use GET or POST your form cant be submitted. I am need

[PHP] Re: passing an array in a link

2002-08-11 Thread B.C. Lance
you could try this: transmitting end: ?php foreach ($keylist as $key = $value) { $searchArg .= keylist[]=.htmlentities($value).; } ? a href=myphp.php??php echo $searchArg?array from search argument/a receiving end: foreach($_GET[keylist] as $key = $value) { echo {$value}br; } David

[PHP] Re: passing an array in a link

2002-08-11 Thread Bogdan Stancescu
Ok, I don't know if you already solved this, but you might want to do something like $SerKeylist=rawurlencode(serialize($keylist)); print a href=\/myscript.php?SerKeylist=$SerKeylist\link/a; on the source end and $keylist=unserialize($_GET[SerKeylist]); at the destination. This of course

[PHP] Re: Passing an array on

2002-05-22 Thread Girish Nath
Hi You could try : http://www.php.net/manual/en/function.serialize.php http://www.php.net/manual/en/function.unserialize.php Pass the serialized array in the URL, then unserialize it back when in the target page. Regards Girish -- www.girishnath.co.uk John Fishworld [EMAIL PROTECTED]