colorkeyword = "" & keyword &">

asp中查找到得关键字用红色显示。

来源:
时间:2024-08-17 13:22:37
热度:

asp中查找到得关键字用红色显示。【专家解说】:<%
tmp = rs("title")
colorkeyword = "" & keyword &

【专家解说】:<% tmp = rs("title") colorkeyword = "<font color='red'>" & keyword & "</font>" tmp = replace (tmp, keyword, colorkeyword) response.write ( tmp ) %>
Baidu
map