<?php $PageSecurity = 11;
include('includes/session.inc');
include('includes/header.inc');
include('includes/SQL_CommonFunctions.inc');
if($_REQUEST['newsize']!='')
{

$sqlchk=DB_query("select * from size_master where CompanyId='".$_REQUEST['companyId']."' and type_product='".$_REQUEST['Prod']."' and size='".$_REQUEST['oldsize']."'",$db);

if(DB_num_rows($sqlchk)>0)
$s1=1; 
else
$s1=0;?>
<input type="hidden" name="ghk" id="gky" value="<?php echo $s1; ?>">
<?php }