RE: [PHP] serialized arrays

From: Date: Fri, 10 Oct 2003 13:44:31 +0000
Subject: RE: [PHP] serialized arrays
Groups: php.general 
Request: Send a blank email to php-general+get-165742@lists.php.net to get a copy of this message
echo "<img src= \"gd_graph.php?h_array=".urlencode($s_array1)." \" >"; Also here's some functions to help. function Array2URLString($array_in) { $ser = serialize($array_in); $ser = urlencode($ser); return $ser; } function URLString2Array($url_string_in) { $ser1 = stripslashes($url_string_in); $arr1 = urldecode($ser1); $arr1 = unserialize($arr1); return $arr1; }

« previous php.general (#165742) next »