I am retrieving the data from my db table with a foreach function and I show them in a table. Up to here everything is working fine.
what I am getting is
<table>
<tr>
<td>
echo $data1;
</td>
</tr>
</table>
<table>
<tr>
<td>
echo $data2;
</td>
</tr>
</table>
What I can't do is show the data as follows:
<table>
<tr>
<td>
echo $data1;
</td>
<td>
echo $data2;
</td>
</tr>
</table>
<table>
<tr>
<td>
echo $data3;
</td>
<td>
echo $data4;
</td>
</tr>
</table>
any idea? my head is stuck!!!!