Newbie89 Posted March 15, 2013 Share Posted March 15, 2013 I have find the example on how the php-gd use to generate the chart.Now,how do I link the sqlite database with php-gd?Is it need extension between them? Link to comment Share on other sites More sharing options...
justsomeguy Posted March 15, 2013 Share Posted March 15, 2013 Your server just needs to support GD and some way to access SQLite, such as the sqlite extension or PDO. They aren't linked together. You can write code to produce a graph given certain data, and you can write code to get data from a database. So you can combine then to get the data from a database and then use that data to draw the graph. http://www.php.net/m...book.sqlite.php 1 Link to comment Share on other sites More sharing options...
Newbie89 Posted March 16, 2013 Author Share Posted March 16, 2013 Thanks for the reply=) 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