drawing line in php on web page
hi...
can we draw a line on web page using php or some other languages... thanks.... bye, Pranith |
The perfect solution would be a SVG object inside an XHTML document, but I don't know what is the current status of SVG support.
Else PHP has support for generating images, and I seem to remember there's a pseudo-protocol named 'data:' for embedding the graphics inside the markup. Yves. |
Quote:
PHP Code:
|
:) :)
That's so true! But only for horizontal lines, though. Yves. |
hi,
let me make it more clear.We have two points and we have to draw a line segment between them thanks bye pranith |
Huhl?
I'm sorry but either I missunderstand your question or you have absolutely zero knowledge about web, html and php. How are the two points specified and what kind of "line" do you have to "draw"? I suggest you read at least the first chapter of any book on web and html. |
PHP Code:
|
All times are GMT -5. The time now is 06:35 PM. |