View Full Version : MIE won't accept an image submit form button

01-20-2008, 01:50 AM
I have a simple submission form that works in FF but no MIE 7.

if(isset($_POST['submitLogin'])) {

// do blah blah blah


display the form:
<form action="" method="post">
username and password fields are here
<input type="image" src="http://www.foo.com/img/icons/icon_login.gif" name="submitLogin" id="button" value="Login">

<? } ?>

the submit button image displays fine.

MIE keeps returning to the else and doesn't like my condition.. works fine in FF

what am I doing wrong?

01-20-2008, 02:06 AM
Reading this will help - http://www.php.net/manual/en/faq.html.php#faq.html.form-image