1. Home
  2. Computing & Technology
  3. PHP / MySQL
photo of Angela Bradley

Angela's PHP / MySQL Blog

By Angela Bradley, About.com Guide to PHP / MySQL

Drawing with PHP

Monday April 24, 2006
Most people who have a website have probably seen a chart of their web traffic statistics at some point. What they may not know is how these charts where created dynamically using PHP.



Charts like the one above can be drawn using PHP code if your version of PHP has GD Library support (and it more than likely does.) The advantage of this, over static charts, is that you can change them just by changing the variables, so they can be created on the fly to fit any data instantly.

Comments

No comments yet. Leave a Comment

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

Explore PHP / MySQL

More from About.com

  1. Home
  2. Computing & Technology
  3. PHP / MySQL

©2008 About.com, a part of The New York Times Company.

All rights reserved.