passing array with form

From: Date: Fri, 27 Jul 2001 22:28:47 +0000
Subject: passing array with form
Groups: php.windows 
Request: Send a blank email to php-windows+get-8538@lists.php.net to get a copy of this message
HI to all, I have a little, simple form and after submitting, together with that information I have to pass an array with other info. How? Let's say array is called $Name I tried this: $Name2 = addslashes(serialize($Name)); On screen: a:5:{i:0;s:13:\"Name 1\";i:1;s:6:\"Name 2\";i:2;s:10:\"Name 3\";i:3;s:11:\"Name 4\";i:4;s:12:\"Name 5\";} And after submitting: On screen: a:9:{i:0;s:13: - part after quotes is cutted off! After: $Name = unserialize(stripslashes($Name2)); no results! Any idea how to fix this? Thanks! Afan Pasalic

« previous php.windows (#8538) next »