I have a button, I want it to echo something after it is clicked... I have this (example echo/code)... <form method="post" action=""> <input src="delete.png" name="delete" type="image" value="delete" > </form> <? if(!empty($_POST['delete'])) { echo "Hi"; } ?> I run this on firefox and it works, -Echos 'Hi'... I run this on IE and it doesnt work, -it refreshes the page, but no 'Hi' is loaded, how come? Please can anyone fix this? Thanks... James
Okay a lesson to you in PHP, but I suggest that you post in the PHP section from now on! Your code does nothing!!!! Try this out! <form method="post" action="yourpagename.php" name="Test Script"> <input type="image" src="delete.png" name="Submit" value="Submit"> </form> HTML: <?PHP if(isset($_POST['Submit'])) { echo "Hi!"; } ?> PHP: Try that and see if you get what it is you are trying to do!