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

[eluser]Pascal Kriete[/eluser]
I've never used this software, but as it is, it's probably easiest to just store a comma seperated list in a text field.

From array to csv:
Code:
$ydata = array(11,3,8,12,5,1,9,13,5,7);
$csv = implode('|' , $ydata);
// put csv into array

From csv to array:
Code:
$csv =  /// get from db
$ydata = explode('|', $csv);

Hope that answers your question.


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