Login   Register  
PHP Classes
elePHPant
Icontem

Create a chart from query

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      Google Charts API PHP library  >  All threads  >  Create a chart from query  >  (Un) Subscribe thread alerts  
Subject:Create a chart from query
Summary:How can i add data from query
Messages:1
Author:Marco Rossi
Date:2013-03-17 17:49:49
 

  1. Create a chart from query   Reply   Report abuse  
Picture of Marco Rossi
Marco Rossi
2013-03-17 17:49:49
Hi!

Thanks a lot for your class!

I just would want to know how can i create an array like this:

$array = array(array('Mês', 'Sales', 'Expenses'),
array('Janeiro',1000,400),
array('Fevereiro',1170,460),
array('Março',660,1120),
array('Abril',1030,540),
array('Maio',900,1325));


when i extract data from query.

Thanks
Regards!