Walbert Posted March 8, 2006 Share Posted March 8, 2006 Hi,I was was wondering if I was going the right way about this.... I need to make a map for a shopping application where the values stores in the database would be displayed on this map... Would I be right in saying that the GD library in PHP would be able to do this. If not, could you please suggest a way to do this... Map and database information extraction.Cheers,Bob Link to comment https://forums.phpfreaks.com/topic/4434-help-php-graphics/ Share on other sites More sharing options...
ToonMariner Posted March 8, 2006 Share Posted March 8, 2006 The gd library wll do the images for you, simply use you regualr php logic to control the flow and hence generate the appropriate image.A longer answer would take forever....... ;) Link to comment https://forums.phpfreaks.com/topic/4434-help-php-graphics/#findComment-15411 Share on other sites More sharing options...
obsidian Posted March 8, 2006 Share Posted March 8, 2006 i'm with ToonMariner on this one. you can definitely accomplish what you're after with the GD lib, but there's a LOT more to it than just a "yes" or "no" answer. to try and describe the way to go about it would take a book lol. Link to comment https://forums.phpfreaks.com/topic/4434-help-php-graphics/#findComment-15415 Share on other sites More sharing options...
Walbert Posted March 8, 2006 Author Share Posted March 8, 2006 [!--quoteo(post=352874:date=Mar 8 2006, 10:16 AM:name=obsidian)--][div class=\'quotetop\']QUOTE(obsidian @ Mar 8 2006, 10:16 AM) [snapback]352874[/snapback][/div][div class=\'quotemain\'][!--quotec--]i'm with ToonMariner on this one. you can definitely accomplish what you're after with the GD lib, but there's a LOT more to it than just a "yes" or "no" answer. to try and describe the way to go about it would take a book lol.[/quote]So would the GD library take the co-ordinates from a database and dispaly them.... Say I'm looking for cake, it's on isle 2, shelf 2. Can this be show on the map?? Link to comment https://forums.phpfreaks.com/topic/4434-help-php-graphics/#findComment-15416 Share on other sites More sharing options...
AndyB Posted March 8, 2006 Share Posted March 8, 2006 [!--quoteo(post=352875:date=Mar 8 2006, 10:19 AM:name=Walbert)--][div class=\'quotetop\']QUOTE(Walbert @ Mar 8 2006, 10:19 AM) [snapback]352875[/snapback][/div][div class=\'quotemain\'][!--quotec--]So would the GD library take the co-ordinates from a database and dispaly them.... Say I'm looking for cake, it's on isle 2, shelf 2. Can this be show on the map??[/quote]Yes ... but you'll need to read some of the GD documentation to figure out how to abstract one part of a larger image and display it. Link to comment https://forums.phpfreaks.com/topic/4434-help-php-graphics/#findComment-15437 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.