Newbie89 Posted March 19, 2013 Share Posted March 19, 2013 (edited) I have try to create the database through pdo and use gd library to create simple graph seperately.Below is my php script which is FYP.php and gd_sql.php.The problem now is to combine both of them.(Get data from sqlite database and display as simple XY graph) FYP.php gd_sql.php Edited March 19, 2013 by Newbie89 Link to comment Share on other sites More sharing options...
justsomeguy Posted March 19, 2013 Share Posted March 19, 2013 Please stop creating duplicate topics for the same issues. What is the problem with combining the scripts? The GD code has arrays called $data and $x_fld. You can get that data from your database and build those arrays, then run the same code to build the graph. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now