Salve!
Perche questo semplice response.write non funziona se non si spunta dalle imp. di internet expl "mostra errori brevi"

Codice PHP:
if wcat "" then
        sql 
"SELECT * FROM listino order by ordine ASC"
        
rs.Open Sqlconn1
    
else
        
sql "SELECT * FROM listino where categoria = " wcat " order by ordine ASC"
        
rs.Open Sqlconn1
    end 
if

    if 
rs.EOF then
    response
.write "<script>alert('Non ci sono annunci in questa categoria')</script>"
    
response.write "<script>location.href = 'annunci.asp'</script>"
    'response.end
    End if 
Grazie!