$s_array1 = serialize($results);

echo "<img src= \"gd_graph.php?h_array=urlencode($s_array1) \" >";

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 get or does it have to be a hidden
variable in a post?

<img src=
"gd_graph.php?h_array=urlencode(a:2:{s:7:"PROGRAM";a:2:{i:0;s:6:"LBIVII";i:1
;s:9:"web_count";}s:3:"NUM";a:2:{i:0;s:2:"69";i:1;s:2:"91";}}) " >

Reply via email to