there is my nex try :)
<?php
$sxml = simplexml_load_file('graph.xml');
$sxml2 = simplexml_load_file('graphier.xml');
foreach ($sxml->Row as $hey=>$row){
echo "data.addRow([ '{$row[Dim1]}', {$row[Metric1]} ,
{$sxml2->Row[$hey][Metric1]}]);";
}
?>
but my navigator say this :
data.addRow([ '0h', 6981 , ]);data.addRow([ '1h', 3339 , ]);data.addRow([ '2h',
2442 , ]);
As you can see the third column didn't acept datas from the second xml :(
>
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-visualization-api/-/Funln3cnJ5gJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-visualization-api?hl=en.