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&amp;stuff=something&amp;country=gb"> 

Comments

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -