As you can probably guess, very new to PHP. I have a 3 column page, company ID, company name, and ad type. I cant figure out how to get the ad type next to the company id and company name. I have 3 colspan, and the company name and company Id are next to each other, but my ad type is at the bottom. I'm sure its something simple and I sure would appreciate any help, Thanks 🙂
echo "<table width='650' align='center'>";
echo "<tr>";
echo "<td colspan='3'> <div class='headerText'>".$num_rows." Active Companies: </div><div class='bodyTxt'><i>(click to view contact and listing details)</i></div><br></td>";
echo "</tr>";
echo "<tr> <td width='37'></td>";
echo "<td width='601' align='left' valign='top' class='bodyTxt'>";
echo "<table>";
echo "<tr><td class='headerText'>Company ID</td><td class='headerText'>Company Name</td><td class='headerText'>Ad Type</td><tr>";
//$exists = 0;
while($company = mysql_fetch_array($query)) {
echo "<tr><td width='100' class='bodyTxt'>". $company['t2'] ." </td><td class='bodyTxt'><a href='reportCompanyContact.php?companyID=".$company['t2']."' class='adminLink'>". $company['t1']."
";
}
while($listType = mysql_fetch_array($query2)) {
echo "<tr><td width='1' class='bodyTxt'>". $listType['t3']."
</a></td></tr>";
}
?>
</table>
</td>
</tr>
</table>