Udskriver ikke title?
HejHvorfor bliver title ikke udkrevet på siden www.vibytomrer.dk
Er der noget galt i denne kode?
ID = REQUEST.QUERYSTRING("p_id")
set rsmeta = Server.CreateObject("ADODB.Recordset")
strSQLmeta = "SELECT PAGES_TITLE, PAGES_METAD, PAGES_METAK FROM VT_PAGES WHERE PAGES_ID = " & ID
rsmeta.open strSQLmeta,strDNS
title = rsmeta("PAGES_TITLE")
metad = rsmeta("PAGES_METAD")
metak = rsmeta("PAGES_METAK")
IF NOT rsmeta("PAGES_TITLE") = "" THEN
response.write "<title>"&rsmeta("PAGES_TITLE")&"</title>"
response.write "<META NAME='Title' CONTENT='"&rsmeta("PAGES_TITLE")&"'>"
response.write "<META NAME='DC.Title' CONTENT='"&rsmeta("PAGES_TITLE")&"'>"
ELSE
response.write "<title>"&title&"</title>"
response.write "<META NAME='Title' CONTENT='"&title&"'>"
response.write "<META NAME='DC.Title' CONTENT='"&title&"'>"
END IF