Gregory Kornblum wrote:
function URLString2Array($url_string_in) {
$ser1 = stripslashes($url_string_in);
// $arr1 = urldecode($ser1);
urldecoding is done by php.
$arr1 = unserialize($arr1);
return $arr1;
}
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, vis
On Fri, 2003-10-10 at 07:41, Donaldson Sgt Michael J wrote:
> $s_array1 = serialize($results);
>
> echo "";
>
> What's the problem with this code? I am trying to pass an array to create
> graph but instead of the pic i get this in my browser. Probably do to bad
> HTML syntax. Can I urlencode in a
echo "";
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
3 matches
Mail list logo