PDA

View Full Version : رسم نمودار در php



taghavi
یک شنبه 18 اردیبهشت 1384, 11:49 صبح
با سلام
چگونه می توان از اطلاعات بدست آمده از دیتا بیس MySql و بوسیله کدهای php نمودار های آماری رسم نمود؟

houtanal
یک شنبه 18 اردیبهشت 1384, 16:55 عصر
با استفادهاز توابع image


XLI. Image Functions
Introduction
PHP is not limited to creating just HTML output. It can also be used to create and manipulate image files in a variety of different image formats, including gif, png, jpg, wbmp, and xpm. Even more convenient, PHP can output image streams directly to a browser. You will need to compile PHP with the GD library of image functions for this to work. GD and PHP may also require other libraries, depending on which image formats you want to work with.

You can use the image functions in PHP to get the size of JPEG, GIF, PNG, SWF, TIFF and JPEG2000 images.


Note: Read requirements section about how to expand image capabilities to read, write and modify images and to read meta data of pictures taken by digital cameras.

masoode
شنبه 24 اردیبهشت 1384, 10:04 صبح
می شه یک کم بیشتر به فارسی توضیح بدین

houtanal
شنبه 24 اردیبهشت 1384, 17:38 عصر
اول از همه این رو دانلود کن
http://www.php.net/download-docs.php
در صورتی که از ویندوز استفاه می کنی نسخه chm و در صورتیکه از لینوکس استفاده می کنی نسخه htm رو دانلود کن

در راهنمای PHP بخشی وجود داره که کار با توابع image رو توضیح داده . اون رو مرحله به مرحله بخون هر جا مشکلی داشتی پپرس