RE: [PHP-WIN] Passing an Array in HTML

2004-11-23 Thread Wagner, Aaron
look at serialize http://us2.php.net/manual/en/function.serialize.php and in the user notes below, note that serialize doesn't remove quotes so need to base64_encode() after the serialize. base64_encode(serialize($array)) than reverse on the other end unserialize(base64_dencode($array)) >

RE: [PHP-WIN] Passing an Array in HTML

2004-11-22 Thread Vail, Warren
You can pass array data by adding it to the form (probably not a good practice, I would choose sessions to pass the data, but incase you have some need that is ok, try the following); // To add the data to your form; Foreach($data_old as $k => $v) echo "\n"; // to get the data returned from the