SINDEFER

Sindicato Nacional Democrático da Ferrovia

Acordos EmpresaBreve HistorialEstatutosHistóricoContactos

 

<% Dim rsNews 'Database recordset holding the news items Dim rsCommentsCount 'Database recordset holding the number of comments for a News Item Dim intNewsItems 'Loop counter for displaying the news items 'Create recorset object Set rsNews = Server.CreateObject("ADODB.Recordset") 'Initalise the strSQL variable with an SQL statement to query the database by selecting all tables ordered by the decending date strSQL = "SELECT News_title, News_item FROM tblNews WHERE News_ID=" & Request("NoticiaID") rsNews.Open strSQL, adoCon xTitulo = rsNews("News_title") xNoticia = rsNews("News_item") rsNews.Close set rsNews = nothing %>
 
<%=xTitulo%>
<%=xNoticia%>
Voltar atrás