Jump to content

form won't submit...in IE???


bcamp1973

Recommended Posts

ok, here's my form

<form action="<? echo $_SERVER['PHP_SELF'] ?>" method="post">
<ul>
<li>Item #1 <input type="image" name="delete" value="16" src="assets/img/clear.gif" /></li>
<li>Item #2 <input type="image" name="delete" value="7" src="assets/img/clear.gif" /></li>
<li>Item #3 <input type="image" name="delete" value="1" src="assets/img/clear.gif" /></li>
</ul>
</form>

 

and at the head of the page is my script

<?

if($_POST['delete']) {
mysql_query('DELETE FROM recipes WHERE id='.$_POST['delete']);
}

?>

 

this works in a couple other browsers i've tested...but not in Micro$lop Internet Exploder...i've been staring at it for too long.  any suggestions?

Link to comment
https://forums.phpfreaks.com/topic/43900-form-wont-submitin-ie/
Share on other sites

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.