On Fri, June 17, 2005 3:47 pm, bruce said: > i've got a problem where i'm trying to play with imagemaps. i created a > test > image map, but when i select inside the image map, i 'see' the "?x,y" from > the imagemap, appended to the url in the browser address bar... i get > http://foo.com?3,5 etc... > > is there a way to prevent this from occuring?? Sure. Change your LINK to a FORM with an INPUT TYPE="image" and use METHOD="POST" on the FORM tag. <form method="post"><input type="image" name="clicked" src="images/clicker.jpg"></form> <?php if (isset($clicked_x)){ echo "($clicked_x, $clicked_y)<br />"; } ?> I dunno why everybody else gave you such complicated answers. It's still not a PHP question, though, except it's confusing PHP changes ".x" and ".y" into "_x" and "_y" on the variable names because "." is not valid in variable names. :-) There, that made this post on-topic. Sort of. -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php