Hello I have one column table but I want objects in three rows like:
Title1 Title2 Title3
Title4 Title5 Title6
How I can do this from this code? :
<table width="100%" border="0">
<?php for($i=0;$i<$tr;$i++) { ?>
<tr>
<?php for($ci=0;$ci<$c;$ci++) {
list($id, $title, $detail) = each($a_data);
?>
<td>
<?php
echo $title->title ;
echo '<br/>';
echo $title->detail;
?> </td>
<?php } ?>
</tr>
<?php } ?>
</table>
Thank you
Title1 Title2 Title3
Title4 Title5 Title6
How I can do this from this code? :
<table width="100%" border="0">
<?php for($i=0;$i<$tr;$i++) { ?>
<tr>
<?php for($ci=0;$ci<$c;$ci++) {
list($id, $title, $detail) = each($a_data);
?>
<td>
<?php
echo $title->title ;
echo '<br/>';
echo $title->detail;
?> </td>
<?php } ?>
</tr>
<?php } ?>
</table>
Thank you