?> <table width="100%" border="0" class='white' cellpadding="0" cellspacing="1"> <thead> <tr> <th width="4%"></th> <th width="45%"></th> <th width="10%">1st time Company<br/>Introduction</th> <th width="10%">Bidding</th> <th width="10%">Consultants</th> <th width="21%">Remarks</th> </tr> </thead> <tbody> <?php $getRow = $dataprocess->GetBiddingTable(); $i = 1; $bid = 1; $con = 1; foreach ($getRow as $e) { echo "<tr>" . PHP_EOL . ""; echo "<td>" . ($e['main'] == 1 ? $i : "") . "</td>" . PHP_EOL . ""; echo "<td>" . $e["title"] . "</td>" . PHP_EOL . ""; if ($e["company_introduction"] != '' && $i == 1) { echo "<td rowspan='30' style='text-align:center'><input type='checkbox' value='CompanyProfile.pdf'></td>" . PHP_EOL . ""; } else { //echo "<td style='text-align:center'><input type='checkbox' value='".$e['company_introduction']."'></td>".PHP_EOL.""; } if ($e["bidding"] == '') { echo "<td></td>" . PHP_EOL . ""; } else {