PHP Classes

Mysql values

Recommend this page to a friend!

      baaChart  >  All threads  >  Mysql values  >  (Un) Subscribe thread alerts  
Subject:Mysql values
Summary:Database values
Messages:2
Author:J Rosenblad
Date:2006-12-17 21:51:19
Update:2007-01-15 10:11:33
 

  1. Mysql values   Reply   Report abuse  
Picture of J Rosenblad J Rosenblad - 2006-12-17 21:51:19
Hi, I trie to use values from a mysql database and have dynamic graphs.

I apriciate if somebody could show me how to do that.

I havent found the right way to get the values in to the "adddataseries" function yet.

Thanks

  2. Re: Mysql values   Reply   Report abuse  
Picture of Titus Titus - 2007-01-15 10:11:33 - In reply to message 1 from J Rosenblad
Hi J Rosenblad,
While reading your recordset put the values into arrays, then use those array in the addseries...

$mygraph->addDataSeries('L',LINE_MARK_X,$myArray,"bla");