Ciao ragazzi
mi sapreste dire perchè qualsiasi cosa inserisca (testo o tabbelle o immagini) a fine pagina me lo integra all'interno della tabella dove richiamo i records del database? impedendomi di continuare con qualche include file ... che mistero!
allego codice
<%
Dim Conn
Set Conn = Server.CreateObject("ADODB.Connection")
conn.Open "driver={Microsoft Access Driver (*.mdb)};dbq=" & server.mappath("/mdb-database/immobili3.mdb")
Dim rs
Set rs = Server.CreateObject("ADODB.Recordset")
rs.Open "select * from monolocali order by id DESC", conn
Do while NOT RS.EOF
%>
<%
%>
<% id1=rs("id") %>
</p>
<table border="0" align="center" cellpadding="0" cellspacing="0">
<tr bgcolor="#F4F4FF">
<td width="650" height="22" bgcolor="#FFFFFF"><table width="650" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="10" bgcolor="#E8F3FF"> </td>
<td width="68" bgcolor="#E8F3FF"><a href="scheda.asp?id=<% response.write(id1) %>">
<%
response.write(link1)
%>
</a></td>
<td width="130" bgcolor="#E8F3FF"><a href="scheda.asp?id=<% response.write(id1) %>">
<%
response.write(link6)
%>
</a></td>
<td width="90" bgcolor="#E8F3FF"><a href="scheda.asp?id=<% response.write(id1) %>">
<%
response.write(link7)
%>
</a></td>
<td width="123" bgcolor="#E8F3FF"><a href="scheda.asp?id=<% response.write(id1) %>">
<%
response.write(link3)
%>
</a></td>
<td width="163" bgcolor="#E8F3FF"><a href="scheda.asp?id=<% response.write(id1) %>">
<%
response.write(link4)
%>
</a></td>
<td width="66" bgcolor="#E8F3FF"><a href="scheda.asp?id=<% response.write(id1) %>">
<%
response.write(link5)
%>
</a></td>
</tr>
</table></td>
</tr>
<tr>
<td><a href="scheda.asp?id=<% response.write(id1) %>">
<%
RS.MoveNext
Loop
RS.Close
Set RS = Nothing
conn.Close
Set conn=Nothing
%>
</a>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td height="2" colspan="3"></td>
</tr>
</table></td>
</tr>
<tr>
<td height="20" bgcolor="#FFFFFF"> </td>
</tr>
</table>

Rispondi quotando
