Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => Images

How to draw a dynamic pic

images php coding issues or problems here.

Moderators: macek, egami, gesf

How to draw a dynamic pic

Postby novice » Thu Oct 24, 2002 6:02 pm

I want to know how to draw a dynamic of data from mysql database!

thanks!
novice
New php-forum User
New php-forum User
 
Posts: 2
Joined: Thu Oct 24, 2002 5:27 pm

Re: How to draw a dynamic pic

Postby Icarus » Fri Oct 25, 2002 1:46 am

novice wrote:I want to know how to draw a dynamic of data from mysql database!

thanks!


In what way?
Get the picture from a MySQL db or create a picture by using multiple values from a MySQL db (e.g. PieChart).
User avatar
Icarus
New php-forum User
New php-forum User
 
Posts: 7
Joined: Thu Oct 24, 2002 9:32 am
Location: Amsterdam, NL

Re: How to draw a dynamic pic

Postby novice » Fri Oct 25, 2002 5:32 pm

Icarus wrote:
novice wrote:I want to know how to draw a dynamic of data from mysql database!

thanks!


In what way?
Get the picture from a MySQL db or create a picture by using multiple values from a MySQL db (e.g. PieChart).


I can get a variable from a mysql db.
I want to draw a curve of the variable on a html page.
novice
New php-forum User
New php-forum User
 
Posts: 2
Joined: Thu Oct 24, 2002 5:27 pm

Postby Icarus » Fri Oct 25, 2002 10:22 pm

Use the example on:
http://www.php.net/manual/en/function.imagecreate.php

To create the base image.

and use imageline() to draw your curves.
User avatar
Icarus
New php-forum User
New php-forum User
 
Posts: 7
Joined: Thu Oct 24, 2002 9:32 am
Location: Amsterdam, NL

Postby prd0 » Fri Nov 08, 2002 1:00 am

I need to create a chart, consist of 3-4 lines using PHP, and shown along the data table. Can someone please give me some samples on how to work on these? thank you
prd0
New php-forum User
New php-forum User
 
Posts: 4
Joined: Fri Nov 08, 2002 12:29 am

Postby Oleg Butuzov » Fri Nov 08, 2002 5:45 am

try to use Macromedia Flash...
Oleg Butuzov
Last Samuray
Last Samuray
 
Posts: 831
Joined: Sun Jun 02, 2002 3:09 am

Postby prd0 » Fri Nov 08, 2002 6:28 pm

Em... I can't program Flash... :)
And I don't want any additional software installed on the client's machine. It must be really really thin because they are really really slow. P1 233 32MB of RAM.. :) Got what I mean?
prd0
New php-forum User
New php-forum User
 
Posts: 4
Joined: Fri Nov 08, 2002 12:29 am


Return to PHP coding => Images

Who is online

Users browsing this forum: No registered users and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron