chopra.arpita92@gmail.com Posted May 19, 2016 Share Posted May 19, 2016 Hello, I 'm working on html & php. I wrote 2 lines below. The thing is i have a map of room i kept some phones in some location. I uploaded the map to my portal, when i'll click to one phone it should give details about phone. Now it is giving last value. i wrote 10 coords attribute line if i'll click on anyone it'll last value. how can i stop on particular value like if i'm clicking on 3rd phone it should give third phone details not 10th phone detail. i tried with break also but thing were same. is there any way? <area shape="rect" coords="252,308,274,342" alt="35"<?php $a ="0104020201" ?>href ="dbcon.php?"<br>> <area shape="rect" coords="418,326,435,355" alt="111" <?php $a ="0104020101"?>href ="dbcon.php?"<br>> Link to comment Share on other sites More sharing options...
davej Posted May 19, 2016 Share Posted May 19, 2016 Maybe you are thinking of this... <area shape="rect" coords="252,308,274,342" alt="35" href="dbcon.php?a=0104020201"> <area shape="rect" coords="418,326,435,355" alt="111" href="dbcon.php?a=0104020101"> http://www.w3schools.com/tags/att_area_shape.asp Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now