<?php

//To setup company

$query="SELECT  *  FROM ".$prefix2."company";

$resultval=mysqli_query($linkid,$query);

$getCompany=mysqli_fetch_assoc($resultval);

?>

<p class="heading"><?php echo $getCompany['address'];?><br>

  <?php if($getCompany['phone']!="") echo "Telephone: ".$getCompany['phone'];?>,

  <?php if($getCompany['web']!="") echo "Mobile: ".$getCompany['mobile'];?><br>

  <?php if($getCompany['email']!="") echo "Email: ".$getCompany['email'];?>,

  <?php if($getCompany['web']!="") echo "Web: ".$getCompany['web'];?>

</p>