Jump to content

Image buttons work in Safari and FireFox, but not IE..


Fenhopi

Recommended Posts

I have this code:

if(!$selectlikerow['likes'] == ""){
				echo $selectlikerow['likes'];
				echo " likes this<br>";
			}

			if(!$selectdislikerow['dislikes'] == ""){
				echo $selectdislikerow['dislikes'];
				echo " dislikes this<br>";
			}
			if($selectdislikerow3['dislikes'] == ""){

				if($selectlikerow2['likes'] == ""){
					echo "<table><tr><td><form method=\"post\" action=\"like.php\">";
        				echo "<input class=\"inputfield\" name=\"like\" type=\"hidden\" id=\"like\" value=\"$username\"";
					echo "<input class=\"inputfield\" name=\"oodleid\" type=\"hidden\" id=\"oodleid\" value=\"$oodleid\"";
        				echo "<INPUT NAME=\"post\" TYPE=\"image\" SRC=\"images/likebutton.jpg\" HEIGHT=\"15\" WIDTH=\"40\"  ALT=\"like!\"></form>";
					echo "</i></td>";
				}
			}

			if($selectlikerow3['likes'] == ""){

				if($selectdislikerow2['dislikes'] == ""){
					echo "<td><form method=\"post\" action=\"dislike.php\">";
        				echo "<input class=\"inputfield\" name=\"dislike\" type=\"hidden\" id=\"dislike\" value=\"$username\"";
					echo "<input class=\"inputfield\" name=\"oodleid\" type=\"hidden\" id=\"oodleid\" value=\"$oodleid\"";
        				echo "<INPUT NAME=\"post\" TYPE=\"image\" SRC=\"images/dislikebutton.jpg\" HEIGHT=\"15\" WIDTH=\"40\"  ALT=\"like!\"></form>";
					echo "</i></td></tr></table>";
				}

			}

The image buttons I use as submit buttons display in Firefox and Safari, but not IE. However, some other image buttons I have work in IE. Such as my log on button. Appreciate all help.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.