Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Dec 2006
    Posts
    417
    Thanks
    168
    Thanked 1 Time in 1 Post

    MIE won't accept an image submit form button

    I have a simple submission form that works in FF but no MIE 7.

    Code:
    <?
    if(isset($_POST['submitLogin'])) { 
    
      // do blah blah blah
    
    }else{
    
    ?>
    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">
    </form>
    
    <? } ?>
    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?

  2. #2
    Senior Coder CFMaBiSmAd's Avatar
    Join Date
    Oct 2006
    Location
    Denver, Colorado USA
    Posts
    4,005
    Thanks
    3
    Thanked 483 Times in 472 Posts
    Finding out HOW to do something is called research, i.e. keep searching until you find the answer. After you attempt to do something and cannot solve a problem with it yourself, would be when you ask others for help.


 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •