Ejemplo n.º 1
0
				<body onLoad='javascript:alert("Record Successfully Updated");'></body>
				<?php 
    } else {
        ?>
                <body onload='javascript:alert("Duplicate Code Record Found");'></body>
<?php 
        //	 		echo "<div align=center>DUPLICATE RECORD</div>";
    }
    $bcode = '';
    $bname = '';
}
//$bname='';
if ($confx == 1) {
    $sQuery = "delete from {$preft} where {$prefc}='{$bbo}'";
    $nProvince = new Province();
    $nProvince->DeleteQuery($sQuery);
    ?>
        <body onload='javascript:alert("Record Deleted");'></body>
<?php 
    $confx = "";
}
$nQuery = "select * from {$preft} where {$prefd}='{$bcode}'";
$nProvince = new Province();
$nProvince->FetchRow($nQuery);
$getRecord = $nProvince->dbResultOut;
$pn = $getRecord[1];
$blgf_codes = $getRecord[5];
//$uQuery = "select * from $prefu where $prefdc='$gf[5]'";
//$nProvince = new Province;
//$nProvince->FetchRow($uQuery);
//$getData = $nProvince->dbResultOut;