<body> <? if (@$B1) echo" You press checkout" ; elseif(@$B2) echo"You press update" ; ?> <form method="POST" action="submit.php"> <input type="image" src="checkout.gif" name="B1" onclick="this.submit();"> <input type="image" src="update.gif" name="B2" onclick="this.submit();"> <input type="submit" value="Checkout" name="B1" > <input type="submit" value="Update" name="B2" > </form> </body> When I replace button submit with image "checkout.gif" and "update.gif" , I do not get value of $B1 and $B2 more , please show me how to get $B1 $B2 when I replace button submit with image , thank you . -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php