Hi,
something I really don't understand, maybe because I use DMX and I am only just learning more advanced "hadncoded" php, but I've seen this done many times without understanding how it's done.
I see some tables with a Repeat Region on it, hence the table unfolds showing a certain amount of records.
so far so good.
But I see some tables where the records display both lengh way and side ways at the same time.
I mean, say you want to display all the html Hex color codes and you would want to show all of them at the same time, but not just in one column making a very log page, but using a few columns and a few rows at the same time.
How is that possible?
Here is a "standard" DMX repeat reagion that duplicates rows only (or columns only, but not both at the same time:
<?php do { ?>
<table width="427" border="1" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="127"><font face="<?php echo $row_rsfonttype['fonttype']; ?>"><?php echo $row_rsfonttype['fonttype']; ?></font></td>
<td width="1"> </td>
<td width="77"><a href="slectedfonttype.php?<?php echo $MM_keepNone.(($MM_keepNone!="")?"&":"")."FTID=".$row_rsfonttype['FTID'] ?>">select</a></td>
</tr>
</table>
<?php } while ($row_rsfonttype = mysql_fetch_assoc($rsfonttype)); ?>
How could you make this unfold over many columns and rows?
I'd love to understand that.
Please advise if you can.
Thanks,
Vinny