Jump to content


Photo

Repeat region


  • Please log in to reply
3 replies to this topic

#1 stephenns

stephenns
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 03 September 2004 - 06:47 PM

I am tring to get the repeating region to repeat once to the right then drop down to the next line. I can only get it to go down the page vertically.

Here is Dreamweaver's repeat region code: <_<

<?php
while (!$vehicles->EOF) {
?>
<tr>
<td align="left" valign="top"><img src="<?php echo $vehicles->Fields('Thumbnail'); ?>" width="200" vspace="2"><br>
<table width="100%" border="0" cellpadding="6" cellspacing="0">
<tr>
<td align="center" valign="middle" bgcolor="#AEAEAE" class="style9"><a href="vehicledetail.php?Vehicle_ID=<?php echo $vehicles->Fields('Vehicle_ID'); ?>" class="WhiteText"><strong>View Details</strong></a> </td>
</tr>
</table></td>
<td align="left" valign="top"><span class="blueHeadline"><?php echo $vehicles->Fields('Year'); ?> <?php echo $vehicles->Fields('Make'); ?> <?php echo $vehicles->Fields('Model'); ?><br>
Owner:
<?php echo $vehicles->Fields('First_Name'); ?> <?php echo $vehicles->Fields('Last_Name'); ?><br>
Location:
<?php echo $vehicles->Fields('State'); ?><br>
</span><?php echo $vehicles->Fields('Description'); ?></td>
</tr>
<?php
$vehicles->MoveNext();
}
?>

Thanks for the help.


#2 toplay

toplay
  • Staff Alumni
  • Advanced Member
  • 973 posts

Posted 03 September 2004 - 07:16 PM

Moved topic to a more suitable topic area.



#3 morpheus.100

morpheus.100
  • Members
  • PipPipPip
  • Advanced Member
  • 145 posts

Posted 03 September 2004 - 11:20 PM

Which version of Dreamweaver?

Search tutorials on looping and/or recursion.




#4 pixelsoul

pixelsoul
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 24 October 2004 - 09:13 AM

what forum did you move this to??

I am trying to find out about this also and would like to see the reponses to this post. I have tried to search the forum but could not find it any where!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users