ASP problem!
Hey...En jeg sidder sammen med, er ved at lave en tagwall i asp og jeg fatter nada af asp, så hellere noget php, selvom jeg stadig er nybegynder. Nå, men spørgsmålet lyder fra ham:
Er ved at lave en tagwall i asp og det ser også godt nok ud, lige indtil jeg jeg lukker siden!
<%
rs.MoveNext
loop
myConn.Close
Set myConn = Nothing
%>
Jeg sætter dette styk kode ind sidst i min side, men når jeg så viser siden fra serveren, mangler jeg det nederste af min side...? hvad gør jeg ?
Paster lige det vigtigste fra siden...:
<%
Conn = "PROVIDER=MSDASQL;DRIVER={Microsoft Access Driver (*.mdb)};DBQ=" & Server.MapPath("tagwall.mdb") & ";UID=admin;PWD=;"
Set myConn = Server.CreateObject("ADODB.Connection")
myConn.Open Conn
Set rs = myConn.Execute("SELECT * FROM tagwall ORDER BY id desc")
do until rs.EOF
%>
</tr>
<tr>
<td width="107" style="border-bottom: 1px solid rgb(0,0,0)"><strong><font face="Tahoma"><small>Name:</small></font></strong></td>
<td width="252" style="border-bottom: 1px solid rgb(0,0,0)"></td>
<%=rs("name")%>
</tr>
<tr>
<td width="107" style="border-bottom: 1px solid rgb(0,0,0)"><strong><font face="Tahoma"><small>Email:</small></font></strong></td>
<td width="252" style="border-bottom: 1px solid rgb(0,0,0)"></td>
<a href="mailto:<%=rs("email")%>"><%=rs("email")%>
</a>
</tr>
<tr>
<td width="107" style="border-bottom: 1px solid rgb(0,0,0)"><strong><font face="Tahoma"><small>ICQ:</small></font></strong></td>
<td width="252" style="border-bottom: 1px solid rgb(0,0,0)"></td>
<%=rs("icq")%>
</tr>
<tr>
<td width="107" style="border-bottom: 1px solid rgb(0,0,0)"><strong><font face="Tahoma"><small>Homepage:</small></font></strong></td>
<td width="252" style="border-bottom: 1px solid rgb(0,0,0)"></td>
<a href="<%=rs("hp")%>"><%=rs("hp")%>
</a>
</tr>
<tr>
<td width="107" style="border-bottom: 1px solid rgb(0,0,0)"><strong><font face="Tahoma"><small>Clan:</small></font></strong></td>
<td width="252" style="border-bottom: 1px solid rgb(0,0,0)"></td>
<%=rs("clan")%>
</tr>
<tr>
<td width="107" style="border-bottom: 1px solid rgb(0,0,0)"><strong><font face="Tahoma"><small>Clan
Homepage:</small></font></strong></td>
<td width="252" style="border-bottom: 1px solid rgb(0,0,0)"></td>
<a href="<%=rs("clanhp")%>"><%=rs("clanhp")%>
</tr>
<tr>
<td width="107" style="border-bottom: 1px solid rgb(0,0,0)"><strong><font face="Tahoma"><small>Dato:</small></font></strong></td>
<td width="252" style="border-bottom: 1px solid rgb(0,0,0)"></td>
<%=rs("tagdato")%>
</tr>
<tr>
<td width="107" style="border-bottom: 1px solid rgb(0,0,0)"><strong><font face="Tahoma"><small>Tag:</small></font></strong></td>
<td width="252" style="border-bottom: 1px solid rgb(0,0,0)"></td>
<%=rs("text")%>
</tr>
</table>
</center></div></td>
</tr>
<tr>
<td width="120"
style="border-left: 1px solid rgb(0,0,0); border-top: 1px solid rgb(0,0,0); border-bottom: 1px solid rgb(0,0,0)"><table
border="0" width="100%">
<tr>
<td width="100%"><small><small><small> </small></small></small></td>
</tr>
</table>
</td>
<td width="696" style="border: 1px solid rgb(0,0,0)"><table border="0" width="100%">
<tr>
<td width="100%"><p align="center"><small><small><small><strong><font face="Tahoma">Copyright
© </a><a href="mailto:Rebel_Leader_667@Hotmail.com">R3b3L design</a></font></strong></small></small></small></td>
</tr>
</table>
</td>
</tr>
</table>
</center></div>
</body>
</html>
