<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");
 $jobcard_no=$_POST['in_jobcard_no_media'];
 $media_particular=$_POST['media_particular'];
	$sql_user="select * from  jobcard_sublist where jobcard_no='$jobcard_no' and particulars='$media_particular'";
		$rs_user=mysql_query($sql_user);
			while($rsdata_user=mysql_fetch_object($rs_user))
			{ 
			$width=$rsdata_user->width;
			}
			 $mtr=$width*2.54;
  $tot_mtr=($mtr/100);
			?>
<input type="text" class="types_class1" name="width1" id="width1"  onKeyPress="if ((event.keyCode &lt; 46) || (event.keyCode &gt; 57)) event.returnValue = false" onKeyUp="media_sub_clear_validation(this.value),get_tot_req(req_by.value,width_hid.value,height_hid.value,total_steps.value,gap_mtr.value),get_total_steps_used(req_by.value,roll_name.value,width1.value,height1.value)"  style=" height:30px; width:100%;" value="<?php echo $width; ?>" /><input type="hidden" name="width_hid" id="width_hid" value="<?php echo $tot_mtr; ?>">