Bonjour a tous voici mon probleme. je veux que mon code ASP ci-bas me permette d'afficher 5 photo avec les donneés des clients. Si vous regarder sur mon site
[ Lien ] dans le bas de la page de départ les photos ne saisse de s'accumuleés. Voici mon code ci-bas pour cette portion. Si quelqu'un peu m'aider.
Joke "avant que je fasse le tour de la planete avec mes photos". Merci d'avance de votre aide
<%
'sql = "SELECT TOP 2 * FROM [user] where (active=1) and (enabled=1) and (photo is not null or photo <> '') ORDER BY NEWID()"
sql = "SELECT TOP 2 * FROM [user] where (active=1) and (enabled=1) and (photo is not null or photo <> '') ORDER BY " & rnd_id
set rs = conn.execute(sql)
While Not rs.EOF
photo = rs("photo")
birth_year = rs("birth_year")
birth_month = rs("birth_month")
birth_day = rs("birth_day")
Yourself = rs("Yourself")
gender = rs("gender")
user_id = rs("user_id")
city = rs("city")
state = rs("state")
country = rs("country")
age = int(datediff("m", birth_month & "/" & birth_day & "/" & birth_year, date)/12)
located = city & ", " & state & ", " & country
%>
<td>
<p> </p>
<table>
<tr valign=top>
<td>
<!-- photo -->
<p align="center">
<a href="/member/user_profile.asp?user_id=<%=user_id%>">
<img src="/files/photo/<%=photo%>" width=100 border=0>
</a>
</td>
<td>
<!-- info -->
<p align="center">
<font class=profilelabel>Gender:</font><font class=profile><%=gender%></font><br>
<font class=profilelabel>Age:</font><font class=profile><%=age%></font><br>
<font class=profilelabel>Location:</font><br><font class=profile><%=located%></font><br>
</td>
</tr>
</table>
</td>
<%
rs.movenext
wend
rs.close
set rs = nothing
%>