I need to create a table in runtime by using php and html,the table should look like:-
image1 image2 image3
name1 name2 name3
---------------------------------
image4 image5 image6
name4 name5 name6
total 2 rows,each row containing 3 data,each data again containing 2 rows,one is a image and another is one name filed.
I have already tried like:
for($i=0;$i<2;$i++)
{
?> <tr>
<? for($j=0;$j<3;$j++)
{
?>
<td>
<table>
<tr>
<td align="left" valign="top" >
<a href="#">
<img src="images/speak-pic.jpg" width="88" height="88" border="0" class="pic-bod" />
</a>
</td>
</tr>
<tr>
<td align="left" valign="top" >
<a href="#" class="link-ar">
<? echo $t["profile_name"]?>
</a>
</td>
</tr>
</table>
</td>
<?
}
?>
</tr>
<? }
?>
but it is still not working