kryppienation Posted August 4, 2009 Share Posted August 4, 2009 I am having trouble for some reason in internet explorer with having form buttons show up. I am wondering if anyone could tell me why this form button shows up in mozilla but not in Internet explorer. Thanks everyone. Here is the code. echo '<form action="itemsshop.php" method="post">'; echo '<input type="hidden" name="userid" value="'.$id.'"'; echo '<input type="hidden" name="medname" value="'.$gottenmedname.'"'; echo '<input type="hidden" name="medcost" value="'.$gottenmedcost.'"'; echo '<input type="hidden" name="dbvalue" value="2"'; echo '<input type="submit" name="confirmbuy" value="Buy It">'; echo '</form>'; echo '<p><a href="itemsshop.php">Back</a>'; The first image is a screen shot from IE and the second on is from Mozilla. [attachment deleted by admin] Link to comment https://forums.phpfreaks.com/topic/168870-solved-ie-problem-with-a-form/ Share on other sites More sharing options...
PFMaBiSmAd Posted August 5, 2009 Share Posted August 5, 2009 The HTML is invalid. The hidden fields are missing the closing > Link to comment https://forums.phpfreaks.com/topic/168870-solved-ie-problem-with-a-form/#findComment-890989 Share on other sites More sharing options...
kryppienation Posted August 5, 2009 Author Share Posted August 5, 2009 lol thanks a lot.... I feel dumb now haha, but none-the-less problem fixed. Much appriciated. Link to comment https://forums.phpfreaks.com/topic/168870-solved-ie-problem-with-a-form/#findComment-890993 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.