<?php
$zroot = $_SESSION["zdir"];
$zcomp = $_SESSION["comp_" . $dbname];
$getcomp = mysqli_query($conn, "SELECT * FROM $zroot.`company` where code='$zcomp'")or die(mysqli_error($conn));
$comp = mysqli_fetch_array($getcomp);
?>
<style>
    @media print {
        .noPrint {
            display:none;
        }
    }
</style>
    <center><b style="font-size: 23px"><? Echo $comp['compname']; ?></b></center>
    <center ><?php echo $comp['add1'] . " " . $comp['add2'] . " " . $comp['add3']; ?><?php echo $comp['state'] . " " . $comp['hocity'] . " " . $comp['hopin']; ?></center>
    <!-- <center><?php echo "Email :" . $comp['email'] . " &nbsp " . "  Tel :" . $comp['tel'] . "  Mobile :" . $comp['mobile'] . "  Website :" . $comp['website']; ?></center> -->
    <center><b><?php echo $formname; ?></b></center>



