Hi
I'm working on this project and Ifaced this little problem,which is that I have two tables and I need them to be side by side but the problem is that I get every table in a separate line !
<center>
<table border="1" width="40%">
<tr>
<td>
<center><h5>order</h5></center>
</td>
<?php
$sql_order = "SELECT * FROM serv WHERE username='".$username."'";
$query = mysql_query($sql_order);
while ($order = mysql_fetch_object($query)) {
echo "
<tr><td>$order->title</td></tr><br />
";
}
?>
<tr/>
</table>
<table border="1" width="40%"><tr>
<td>
<center><h5>Tracking number</h5></center>
</td>
<?php
$sql_order = "SELECT * FROM serv WHERE username='".$username."'";
$query = mysql_query($sql_order);
while ($order = mysql_fetch_object($query)) {
echo "
<tr><td>$order->tracking_number</td></tr><br />
";
}
?>
</tr>
</table>
</center>
and if there is a chance to make them in one table please tell me how.