Welcome Guest, Not a member yet? Register   Sign In
Need help about Jpgraph or Panaci/Panachart
#3

[eluser]James Bolongan[/eluser]
Thanks to your idea inparo. I try to use the implode function but Jpgraph does not work...

Here is my sample code:

Code:
$h2O =  $this->db->query("SELECT  percent_h2O  FROM cement");
$ydata = explode('|', $h2O);

It does not work...Then I try to result it in a row
Code:
$query =  $this->db->query("SELECT  * FROM cement");
      foreach($query->result_array() as $row){
        $h2O = $row['percent_h2O '];
        $ydata = explode('|', $h2O);
      }
Still it doesnt work.

Thanks a lot to inparo...It really helps me in coding that is more simple and easy....It is so useful in my other application right now.

I still need help about the Jpgraph on how to update the data that is from the db. I dont know whats the correct syntax. The problem is the parsing of the data from the db...


Messages In This Thread
Need help about Jpgraph or Panaci/Panachart - by El Forum - 05-17-2008, 07:39 AM
Need help about Jpgraph or Panaci/Panachart - by El Forum - 05-17-2008, 07:48 AM
Need help about Jpgraph or Panaci/Panachart - by El Forum - 05-24-2008, 08:24 AM



Theme © iAndrew 2016 - Forum software by © MyBB