php - pass variables through imagemap -
i have country map many cities. have spotted every city imagemap. display database data relevant each city when spot clicked. there possible way pass variables(id?) through imagemap in order display data using variable?
thanks lot!
you can use query part of url in href
attribute of area
element (i presume using so-called client-side image map, using map
element containing area
elements). example:
<area shape="circle" coords="100,200,5" alt="london" href= "/foo.php?thing=42&stuff=something&country=gb">
Comments
Post a Comment