Draw Lines

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • prakash437@gmail.com

    Draw Lines

    Hello everyone ..
    Can any of you please tell me how to draw lines joining two points in a
    page using PHP. Not on an image but on the page itself?? And the lines
    also need to be at an angle to the horizontal.

    Thanks,
    Vaddina Prakash Rao

  • Adam Plocher

    #2
    Re: Draw Lines

    Vaddina, PHP doesn't actually do any drawing (unless you're using it to
    generate an image), but some DHTML mixed with PHP might get you where
    you want to be. I just did a quick look on google (
    http://www.google.com/search?hl=en&q...l+line&spell=1 )
    but the first three items that I checked seem to talk about using
    images. It seems that it might not be possible to do that without an
    image. Flash might be a good solution for something like that, I know
    there's ways to implement that to work with a PHP script, but I've
    never actually done that myself. http://us2.php.net/swf

    Hope that helps
    -Adam

    Comment

    Working...