Fenhopi Posted July 2, 2010 Share Posted July 2, 2010 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 https://forums.phpfreaks.com/topic/206576-image-buttons-work-in-safari-and-firefox-but-not-ie/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.