[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...