Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/url/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
显示公共名称而不是URL_Url - Fatal编程技术网

显示公共名称而不是URL

显示公共名称而不是URL,url,Url,使用经典ASP 它向用户手机创建文本消息 在消息中,我希望显示一段文本,当单击它时,它会转到特定的URL 差不多 将显示登录名,但当单击它时,它将进入一个实际的URL,听起来这就是您要查找的全部内容 <% '---- Written in VBScript dim strUrl strUrl = "http://www.example.com" response.write "<a href='"& strUrl &"'>Go to Example.com<

使用经典ASP

它向用户手机创建文本消息 在消息中,我希望显示一段文本,当单击它时,它会转到特定的URL

差不多


将显示登录名,但当单击它时,它将进入一个实际的URL,听起来这就是您要查找的全部内容

<%
'---- Written in VBScript
dim strUrl
strUrl = "http://www.example.com"
response.write "<a href='"& strUrl &"'>Go to Example.com</a>"
%>

将URL输出到HTML锚定标记的href属性中。