% Set conexao_not =Server.CreateObject("ADODB.RecordSet") msql = "SELECT * FROM noticia ORDER BY codigo DESC LIMIT 5" Set conexao_not = Conn.Execute(msql) %> <% Set conexao_des_not =Server.CreateObject("ADODB.RecordSet") msql = "SELECT * FROM noticia WHERE destaque = 'Sim' ORDER BY codigo DESC LIMIT 1" Set conexao_des_not = Conn.Execute(msql) %>
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||