I have a page that calls a image creating script lots of times... this 
script takes two parameters... the type of graph to be created and an array 
with data to fill the graph to be created...

now I'm doing it like this:

<img 
src="<?=WEB_ROOT."/adm/relatorio_graph.php?tipo=catviews&emp_graphArray=".urlencode($categs)?>">

and it generates an output something like this:

<img 
src="/vitrine/adm/relatorio_graph.php?tipo=catviews&emp_graphArray=a%3A3%3A%7Bi%3A2%3Ba%3A2%3A%7Bs%3A4%3A%22view%22%3Bi%3A22%3Bs%3A5%3A%22click%22%3Bi%3A1%3B%7Di%3A3%3Ba%3A1%3A%7Bs%3A4%3A%22view%22%3Bi%3A12%3B%7Di%3A4%3Ba%3A2%3A%7Bs%3A4%3A%22view%22%3Bi%3A10%3Bs%3A5%3A%22click%22%3Bi%3A1%3B%7D%7D">

it works just fine.. all the graphs show up perfectly...

but I was wondering if there is a better way of doing this... I tried with 
sessions, but I couldn't get the varible to be reseted correctly between 
two graphs of the same type... and they would repeat...

any ideas?

_____________________________
. Christian Dechery
. . Gaita-L Owner / Web Developer
. . http://www.webstyle.com.br
. . http://www.tanamesa.com.br


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to