title: PHP save disabled input into database
body: <p>Hi is there a way to save disabled input in your database?</p>
  
  <p>Like this below</p>
  
  <pre><code>&lt; input type="text" disabled name="item_name" &gt;
  </code></pre>
  
  <p>the disabled there has a useful function in my case since i show the input box but I wont allow user to change it </p>
  
  <p>but when I use query to save this input  box it says 'undefine item_name'
  my suspect is that disabling input will not allow data to capture by php and insert to your database</p>
  
  <pre><code>$item_name = $_POST['item_name'];
  mysql_query("INSERT INTO items values('$item_name')");
  </code></pre>