Forums

PHP

This topic is locked

return

Posted 07 Aug 2001 22:44:54
1
has voted
07 Aug 2001 22:44:54 Keith Slater posted:
I have this code in my script now:

<font size=2>

table border="0"&gt;
tr&gt;?php while (($Repeat3__numRows-- != 0) && (!$Recordset3-&gt;EOF))
{
?&gt;
td width="173"&gt;
div align="center"&gt;img src="images/&lt;?php echo $Recordset3-&gt;Fields("PICTURE_NAME"?&gt;" width="150" height="150"&gt;
br&gt;
a href="vprofile.php?arist=&lt;?php echo $Recordset3-&gt;Fields("USER_NAME"?&gt;"&gt;
?php echo $Recordset3-&gt;Fields("ARTIST_NAME"?&gt;
/a&gt; &lt;/div&gt;
/td&gt;
?php
$Repeat3__index++;
$Recordset3-&gt;MoveNext();
}
?&gt;
/tr&gt;
/table&gt;</font id=size2>

and I want it only shows 3 pictures then goes down a line or 2 and does 3 more.. thanks

Keith Slater

Replies

Replied 08 Aug 2001 08:57:45
08 Aug 2001 08:57:45 Tim Green replied:
Isn't this the same as the Horizontal Loop thread ?

Tim Green

Extension & PHP TalkZone Manager
<font size=1>-------------------------------------------
<i>Please read the Forum FAQ before posting
a question to this TalkZone.</i>
-------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
-------------------------------------------</font id=size1>
Replied 08 Aug 2001 15:06:01
08 Aug 2001 15:06:01 Keith Slater replied:
Yea but I can't get the line ?php for ($k=0; $k &lt; 3; $k++) {?&gt;
to work with this script.

Keith Slater
Replied 09 Aug 2001 16:45:25
09 Aug 2001 16:45:25 Tim Green replied:
The remainder of this thread is available on the thread entitled 'Horizontal Loop' :-

www.udzone.com/forum/topic.asp?TOPIC_ID=9102&FORUM_ID=67&CAT_ID=5&Topic_Title=Horizontal+Loop&Forum_Title=PHP

Tim Green

Extension & PHP TalkZone Manager
<font size=1>-------------------------------------------
<i>Please read the Forum FAQ before posting
a question to this TalkZone.</i>
-------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
-------------------------------------------</font id=size1>

Reply to this topic