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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.