<style>
.style1 {border-top: solid 1px;border-top-color: #CCCCCC;}
.style21 {border-bottom: solid 1px;border-bottom-color: #CCCCCC;}
.style5 {border-left: solid 1px;border-left-color: #CCCCCC;}
.style3{ border-right: solid 1px;border-right-color: #CCCCCC; }
.style4 {border-bottom: solid 1px;border-bottom-color: #CCCCCC;}
.text{ font-family: Verdana; font-size:13px;}
#tot_amt::-webkit-input-placeholder { color:#666; }
</style>
<?php error_reporting(0);
/***************************** PREVIOUS NEXT CODING ****************************************/
 include("../../include/db.php");
 $job_card_nos=$_POST['job_card_nos'];
  $particulars=$_POST['particulars'];
  
  $res_parti=mysql_fetch_array(mysql_query("select * from media_pur_sublist where  particulars_id='$particulars' and `media_pur_no`='$job_card_nos' "));
?>	
  
    <td  class="text style4 style5"><input type="text" class="types_class1" name="mtr_roll" id="mtr_roll" style="width:100%;  height:28px;"  onKeyPress="if ((event.keyCode &lt; 46) || (event.keyCode &gt; 57)) event.returnValue = false" onKeyUp="cons_ret_media_clear_valid_sub(this.value),get_tot_mtr_consumable(qty.value,mtr_roll.value)"    value="<?php  echo $res_parti['mtr_roll'];  ?>" /></td>