Avrei l'esigenza di nascondere l'href del testo commenti quando ovviamente a quel blog non è ancora associato nessun commento... come devo procedere?
<%@LANGUAGE="JAVASCRIPT" CODEPAGE="1252"%>
<%
var RecPagine = Server.CreateObject("ADODB.Recordset");
RecPagine.ActiveConnection = MM_conn_euro_STRING;
RecPagine.Source = "SELECT * FROM Blog";
RecPagine.CursorType = 0;
RecPagine.CursorLocation = 2;
RecPagine.LockType = 1;
RecPagine.Open();
var RecPagine_numRows = 0;
%>
<%
var Repeat1__numRows = 10;
var Repeat1__index = 0;
RecPagine_numRows += Repeat1__numRows;
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Documento senza titolo</title>
</head>
<body>
<% while ((Repeat1__numRows-- != 0) && (!RecPagine.EOF)) { %>
<h3><%=(RecPagine.Fields.Item("Titolo").Value)%> </h3>
<%=(RecPagine.Fields.Item("Testo").Value)%></p>
Postato il <%=(RecPagine.Fields.Item("Data").Value)%> | ">Scrivi | ">Commenti | </p>
<%
Repeat1__index++;
RecPagine.MoveNext();
}
%>
</body>
</html>
<%
RecPagine.Close();
%>

Rispondi quotando