I am having some trouble getting the formatting correct displaying SQL data. Below is the code but it is not lining up as it should just can't seem to get the tables right. Here is the code.
echo "<table border='1'> <tr> <td width='90'><font size='2pt'>".TeamName."</td> <td ALIGN='left'><font size='2pt'>".UserID."</td> <td><font size='2pt'>".Departments."</td> <td><font size='2pt'>".Description."</td> <td><a href='csv.php'>Save to CSV file</a></td></tr><tr> <td style='vertical-align: top;'>".$name."</td> <td ALIGN='center' style='vertical-align: top;'>".$userid."</td><td> <table border='1' width='100%'>"; while($row = sqlsrv_fetch_array($stmt)){ echo "</td></tr><tr> <td>".$row[Departments]."</td> <td>".$row[Description]."</td></tr>"; } echo "</table>"; echo "</table>";