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
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']);
--
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
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:
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
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
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
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]
8 matches
Mail list logo