Jump to content

Problem:Combine SQLite and GD library


Newbie89

Recommended Posts

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 by Newbie89
Link to comment
Share on other sites

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...