hi solomon

here is just a basic outline , of how you can do this.
send your data as comma seperated list so the data.content string looks 
like this:
{ping: 0,reg: 1,unreg: 0,search: 0},
{ping: 0,reg: 2,unreg: 0,search: 0},
{ping: 0,reg: 3,unreg: 0,search: 0}

and then read the loaded data into an array:
            
                        eval("var content =new Array( " + data.content 
+")");

read the content array and push the values of each item into vals :
         
                       for(var i=0;i<content.length;i++){
                        vals['pp'].push(content[i].ping);
                        vals['unreg'].push(content[i].unreg);
                        vals['reg'].push(content[i].reg);
                        vals['sea'].push(content[i].search);

                        }
i dont know wich other parts of your script has got to change for this 
to properly work, but it should give you a basic idea...
hth
Holger


-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to