I am trying to make a php table look more nicer by implementing a drop down menu between its rows , my code for creating a table is the following
echo "<table class=box border=1px>
<div id=<wrapper>
<tr>
<th>Zone</th>
<th>Rownumber</th>
</tr>";
echo "<form action=selectsits.php enctype=multipart/form-data method=post>";
while($record=mysql_fetch_array($availablesitsdata) ) {
echo '<tr>';
echo '<select name=cat_id>
<option value="a">aa</option>
<option value="b">bb</option>
</select>
</td>';
echo "<td>" . $record['Zone'] . "</td>";
echo"</tr>";
}
echo "</form>";
but the drop down menus are outside the table and not inside. Does anyone has any idea how to fix this?