<?php

//To setup company

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

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

$getCompany=mysqli_fetch_assoc($resultval);

?>

<p class="heading-small"><?php echo $getCompany['address'];?>. <?php if($getCompany['phone']!="") echo "Telephone: ".$getCompany['phone'];?>,  <?php if($getCompany['web']!="") echo "Mobile: ".$getCompany['mobile'];?>,  <?php if($getCompany['email']!="") echo "Email: ".$getCompany['email'];?>,<?php if($getCompany['web']!="") echo "Web: ".$getCompany['web'];?></p>