drawing and images

PHP pure and how it interacts with databases. Discussions on theory welcome.

Moderators: BobCP, agsone, Neil Parks, gregtutor, Lem3

drawing and images

Postby Polarbear4646 on Fri Jul 23, 2010 4:21 am

How do you draw or use images in php?
Polarbear4646
 
Posts: 33
Joined: Tue Nov 24, 2009 2:48 am
Country: United States (us)

Re: drawing and images

Postby wink0r on Fri Jul 23, 2010 5:06 am

This is really beyond my expertise, but I hear of Canvas and SVG being used for drawing graphics within the browser. I use a php rotator script to call a random image from a list in a few places, but this just writes the html for the image into the page as it is built.

What is it that you wish to do??
wink0r
 
Posts: 2583
Joined: Tue Aug 28, 2007 10:10 pm
Location: East Coast - USA
Country: United States (us)

Re: drawing and images

Postby Polarbear4646 on Sat Jul 24, 2010 5:14 pm

I'm trying to make those graphs that appear after you vote on a poll. You know how it shows the percentage of votes in a horizontal bar graph?
Polarbear4646
 
Posts: 33
Joined: Tue Nov 24, 2009 2:48 am
Country: United States (us)

Re: drawing and images

Postby wink0r on Sat Jul 24, 2010 5:30 pm

I would think that would be part of the poll script. You might look at the SitePoint site for some information about this sort of thing.
wink0r
 
Posts: 2583
Joined: Tue Aug 28, 2007 10:10 pm
Location: East Coast - USA
Country: United States (us)


Return to Advanced - PHP/SQL Q&A


Who is online

Users browsing this forum: No registered users and 0 guests