Re: [Fwd: Re: [PHP] Displaying information from table graphically]
- From: stuttle@xxxxxxxxx (Stut)
- Date: Sat, 22 Nov 2008 14:31:28 +0000
On 22 Nov 2008, at 16:23, dzenan.causevic@xxxxxxxxxx wrote:
At least that eliminates GD as an option for this particular purpose.
Yes exactly something Flash like that allows interaction as well. But how
to exchange data between flash multimedia file and MySQL queries. This is
a serious issue, this is not trivial. I know there must be some way, but I
also dont know if it's worth it. That's why I need to do this research in
order to determine what kind of work this particular project would
involve. Your help is invaluable in that respect. Thanks goes to all of
you zillion times :)
Since you would be using coordinates to composite the images, building an imagemap at the same time should be really simple. However, I'd still go with constructing the images in divs or a table due to the relative simplicity.
-Stut
--
http://stut.net/
On Sat, 2008-11-22 at 14:22 -0100, dzenan.causevic@xxxxxxxxxx wrote:I mean composite in a figurative way, but they have to be overlappingI don't think you can do that in anything. GD outputs an image, which
individual images in order to be individually clickable. Does GD allow
that? Can I create multiple images on the top of each other in GD?
And how would imagemap work in this respect?
On Sat, 2008-11-22 at 12:51 -0100, dzenan.causevic@xxxxxxxxxx wrote:UserOkay I would probabily define few functions such as room(), bed(),
bed_status() etc. that I could use for any room and then it would be
just
a matter of passing right arguments to those funtions.
However would those beds within the room composite graphic be
individually
clickable? So the composite graphic must be interactive in nature.
wrote:must be able to click on individual beds inside the room in order to
change its status. Would GD approach allow this kind of interaction?
On Sat, 2008-11-22 at 12:14 -0100, dzenan.causevic@xxxxxxxxxxdo.It's not kind of a school/college project that I am too lazy tobelieveIt'sjust a matter of having 800 rooms and about 2,500 beds so Ifunctions.it'sgonna take forever defining all of those graphics via GDGD'sThat's
why I think I need to go with some rapid approach. I never used
indicatingsoalsoI
dont even know how complex it is generating graphics this way. Andthose graphics dont need to be sophisticated. Just simple graphic
representations of rooms and beds in few different colorscapabilities.wheter bed is free, occupied, or reserved.
GD just seems too powerful and too time consuming for this task. I
probabily need some rapid approach with limited graphiciswrote:Does
such exist that's my question at this point of time
On Fri, 2008-11-21 at 16:55 -0100, dzenan.causevic@xxxxxxxxxxI have a PHP application that accesses data from MySQL. Thereintablecalledcalled "rooms", and table called "beds". There is another table"patients". Patients are being placed into beds, and beds areinformationthetextualrooms. PHP application currently displays all information inmode
via regular HTML tags. But I would like to have that
inside.displayed
in graphical mode instead of textual mode.
Is there a way to display this information from the database
graphically.
Graphic would represent a room, and it would contain beds
tooYouarewould be able to see visually which beds are occupied and whichHTMLfreeby looking at the graphics.
User of the system wants pictures instead of text displayed viatables as a list of entries.This sounds a lot like a school/college/uni project that you're
Anyone knows anything like this?
Thanks,
Dzenan
youlazyto research... Correct me if I'm wrong.
The other guys who have answered are all spot on when they saytoneedto look at the GD library.
Ash
www.ashleysheridan.co.uk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
GD is fine for what you need to do, and it shouldn't be difficultfunctioncreate what you need to do. There isn't any pre-built rooms()thein it, but just build that yourself and use basic math to createlikeThe only way you could achieve clickable parts of a composite imagegraphics you need.
Ash
www.ashleysheridan.co.uk
that is either to not have it as a composite and use many images, orusean imagemap.
Ash
www.ashleysheridan.co.uk
can be made up of layers, but there is no provision in the browser to
allow you to select an image below another one even if you can see it
because the top-most image is transparent. I think what you're really
looking for is something Flash based?
Ash
www.ashleysheridan.co.uk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.
- References:
- [Fwd: Re: [PHP] Displaying information from table graphically]
- From: dzenan . causevic
- [Fwd: Re: [PHP] Displaying information from table graphically]
- Prev by Date: a for loop and probability random all i need is make them to reverse
- Next by Date: Re: [PHP] a for loop and probability random all i need is make them to reverse
- Previous by thread: [Fwd: Re: [PHP] Displaying information from table graphically]
- Next by thread: Re: [Fwd: Re: [PHP] Displaying information from table graphically]
- Index(es):
Relevant Pages
|