Advertisement

12.21.2005 at 11:37AM PST, ID: 21672315
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.8

Working fine static - need help with dynamic

Asked by mattybrigh in Active Server Pages (ASP)

As my title states, I have what I want to work fine statically, but making it dynamic is a bit of a hassle.  I have the components in place, I just don't know how to display these across.

Here's my code and I want it to look like http://www.dvdauthority.com/newauth.asp

<table width="780" class="index_column1" border="0">
 <tr>
<%
'Set Conn = Server.CreateObject("ADODB.Connection")
'Conn.Open Application("inet_dvdauthority")
'sql = "SELECT R.title,oscar,releasedate,title_image, TR.[image], Convert(varchar(250), R.Body) + '...' AS Body, Convert(varchar(10), 'TR.[date], 101) AS [date], TR.ReviewID FROM dbo.TodaysReviews TR INNER JOIN dbo.newreviews R ON TR.ReviewID = R.ReviewID WHERE TR.[date] > 'DATEADD(day, -10, TR.[date]) AND active > 0    ORDER BY TR.sort DESC"
'Set RS = Conn.Execute(sql)
 
%>
                    <%
      'iCounter = 1
      Do Until RS.EOF
                reviewID = RS("reviewID")
                image = RS("image")
                curDate = RS("date")
                title = RS("title")
                oscar = RS("oscar")
      Body = Left(RS("body"), 125)
      releasedate = RS("ReleaseDate")
      title_image = RS("title_image")
                        %>
                  
                        <%
If Not IsNull(image) And image <> "" Then%>

<td style="padding-left:15px;padding-bottom:15px;">
<table border="0" cellpadding="2" cellspacing="2">
<tr>
<td valign="top" width="230" bgcolor="#ffffff"><a href="/reviews.asp?reviewID=1234"><img src="/images/notable/serenity_not.jpg" border="0" height="248" width="230" alt="Serenity"></a><br />
<a href="/reviews.asp?reviewID=1234" class="mptitle">Serenity</a><br />As the planet's population boomed, the world stayed the same size and sooner or later, the room was bound to run out. At that...</td>
 
 
<td width="15">&nbsp;</td>
<td valign="top" width="230" bgcolor="#ffffff"><a href="/reviews.asp?reviewID=1234"><img src="/images/notable/serenity_not.jpg" border="0" height="248" width="230" alt="Serenity"></a><br /> <a href="/reviews.asp?reviewID=1234" class="mptitle">Serenity</a><br />As the planet's population boomed, the world stayed the same size and sooner or later, the room was bound to run out. At that...</td>
 
 
<td width="15">&nbsp;</td>
<td valign="top" width="230" bgcolor="#ffffff"><a href="/reviews.asp?reviewID=1234"><img src="/images/notable/serenity_not.jpg" border="0" height="248" width="230" alt="Serenity"></a><br /> <a href="/reviews.asp?reviewID=1234" class="mptitle">Serenity</a><br />As the planet's population boomed, the world stayed the same size and sooner or later, the room was bound to run out. At that...</td>
<%
End If
%>
 
<%
RS.MoveNext
prevDate = curDate
Loop

RS.Close
Set RS = nothing%>
 </tr></table></td></tr></table>

So in essence, I want it to display three things at a time (different titles of course, but that will take care of itself when the time is right) I just don't know how to code it so that I have a movie, space, movie, space, movie, space.Start Free Trial
[+][-]12.21.2005 at 12:12PM PST, ID: 15529396

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Active Server Pages (ASP)
Sign Up Now!
Solution Provided By: DesertWarrior
Participating Experts: 1
Solution Grade: A
 
 
[+][-]12.21.2005 at 12:18PM PST, ID: 15529451

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.03.2006 at 11:37AM PST, ID: 15866925

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]02.07.2006 at 03:58AM PST, ID: 15891325

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 - Hierarchy