NetworkTown.Net
Account Closed
- Impact
- 2
Hi
I have a quick question, i have the following:
Then i have a code like this:
I want this above code to be repeated to the number in $num_displayed so say that in $num_displayed it $num_displayed = '3'; this above code would be repeated 3 times, dose any one know if php can do this and were i can find the code.
I have a quick question, i have the following:
PHP:
<?php
$num_displayed = '3';
?>
Then i have a code like this:
PHP:
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="greyBox" width=50%>
<tr>
<td> <table border="0" cellpadding="0" cellspacing="0">
<tr>
<td width=100%> <table border="0" cellpadding="0" cellspacing="0" width=100%>
<tr>
<td align=left class="thead" colspan="5" height=20> <strong><?php echo '<a href="view.php?id='.$id.'">'; echo"$title"; echo '</a>'; ?></strong></td>
</tr>
</table>
<p class="normalText" valign=top><?php echo"$description"; ?></p></td>
</tr>
</table></td>
I want this above code to be repeated to the number in $num_displayed so say that in $num_displayed it $num_displayed = '3'; this above code would be repeated 3 times, dose any one know if php can do this and were i can find the code.





