title: Input image as clickable button
body: <p>I want to make an image which is clickable and in case when its clicked I use <code>$_POST</code> to get it's value and use it. It looks like this:</p>
  
  <pre><code>if (isset($_POST['checked'])){
   $q = mysql_query("UPDATE table SET checked = 2 WHERE tr_id = ". $_POST['checked']);
  }
  
  &lt;form action="" method="POST"&gt;
    &lt;input type="image" src="images/checked.png" name="checked" value="&lt;?php echo $info[0]; ?" /&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>Well in Chrome it works, but then I realised that in IE and Mozilla it doesn't work, can anyone suggest me same thing but so it works on all browsers? </p>
  
  <p>Main thing is that this images value field get it's value from database with <code>mysql_fetch_row</code> and I must use this value in update query.</p>