帮忙看看asp代码中的错误

来源:百度知道 编辑:UC知道 时间:2024/06/23 17:11:45
Application("show")="<table border='0'cellpadding='0'cellspacing='0'width='85%'>
<tr><td width='100%' bgcolor='#c0c0c0'></td></tr>
<tr><td width='100%'><font color='#0000FF'>来自"
&request.ServerVariables("remote_addr")
&"的"&session("nick")&time
&"说:</font>"&talk
&"</td></tr><tr><td width='100%'></td></tr></table><br>"
&application("show")

实在是看不出有什么问题!
总是报错: 未结束的字符串常量

你这些代码要在一行内写完,不然就不行:

Application("show")="<table border='0'cellpadding='0'cellspacing='0'width='85%'><tr><td width='100%' bgcolor='#c0c0c0'></td></tr><tr><td width='100%'><font color='#0000FF'>来自"&request.ServerVariables("remote_addr")&"的"&session("nick")&time&"说:</font>"&talk&"</td></tr><tr><td width='100%'></td></tr></table><br>" &application("show")