passing array
| From: | afan | Date: | Fri, 30 Mar 2001 20:26:26 +0000 |
| Subject: | passing array | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-6393@lists.php.net to get a copy of this message | ||
hi guys,
my problem is how to pass an array to other page. E.g. I have an array of randomly choose numbers,
11, 7, 5, 10, 6
After I serialize that array I'm getting
a:5:{i:0;s:2:"11";i:1;s:1:"7";i:2;s:1:"5";i:3;s:2:"10";i:4;s:1:"6";}
Then I addslashes:
a:5:{i:0;s:2:\"11\";i:1;s:1:\"7\";i:2;s:1:\"5\";i:3;s:2:\"10\";i:4;s:1:\"6\";}
After using form <input type=hidden ...> and submitting I have only first part, up to first
" (quote)
a:5:{i:0;s:2:\
What I have to do?
Thanks!
Afan