Microsoft Word - Core PHP Programming Using PHP to Build Dynamic Web Sites

(singke) #1

Generating Graphs on the Fly


Perhaps a more likely use of dynamic graphics is in generating graphs. Since graphs rely
on data, they lend themselves to very formula-driven creation. If the data change often,
using PHP to generate the graphs is a good idea. In the following examples, I've written
the data into the script, but pulling data from a database is not difficult. Sending the data

Free download pdf