N00b here....Making a floorplan dynamic

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
wreed
Forum Newbie
Posts: 12
Joined: Wed Dec 18, 2002 12:12 pm
Location: Butler, NJ
Contact:

N00b here....Making a floorplan dynamic

Post by wreed »

Ok I have a floor plan and I want to make it dynamic, I have a employee db already too, now on my floorplan each room has a id....how would I go about coding this, by the way its going to be a image map when I make it in Photoshop, and so when someone clicks on a room it will show who is in it and there info, and on the original floor plan it will show who is in each room just by name .......is this possible?
evilcoder
Forum Contributor
Posts: 345
Joined: Tue Dec 17, 2002 5:37 am
Location: Sydney, Australia

Post by evilcoder »

I wuld say the easiest way would be to make your image map:

Then in the rooms link them like: whois.php?id=1 , 2 , 3 etc etc

Then your whois script queries the database and shoots out who is there.
Post Reply